mirror of https://github.com/testerSunshine/12306
docker文件提交
parent
ce0b5cff84
commit
8bd487201a
|
@ -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" ]
|
Loading…
Reference in New Issue