14 lines
249 B
Docker
14 lines
249 B
Docker
FROM ubuntu:16.04
|
|
|
|
RUN apt-get update -y
|
|
RUN apt-get install -y python3 python3-pip python3-dev build-essential
|
|
RUN pip3 install --upgrade pip
|
|
|
|
COPY . /app
|
|
WORKDIR /app
|
|
RUN pip3 install -r requirements.txt
|
|
|
|
ENTRYPOINT ["python3"]
|
|
CMD ["server.py"]
|
|
|