docker文件提交

pull/66/head
wenxianping 2018-12-25 10:38:39 +08:00
parent ce0b5cff84
commit 8bd487201a
1 changed files with 13 additions and 0 deletions

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM python:2.7.15
WORKDIR /usr/src/app
COPY Docker .
ENV DEBIAN_FRONTEND noninteractive
ENV TZ Asia/Shanghai
RUN pip install --no-cache-dir -r requirements.txt
#EXPOSE 5010
WORKDIR /usr/src/app/
CMD [ "python", "start.py" ]