Skip to content

Commit 49d9dc6

Browse files
committed
use original source
1 parent 555b178 commit 49d9dc6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
FROM python:3.6
2-
ARG pip_url=http://pypi.douban.com/simple
3-
ARG pip_host=pypi.douban.com
42
ARG work_home=/opt/cloud/izone
53
ENV PYTHONUNBUFFERED=1
64

75
# change repositories to aliyun and set timezone to Shanghai
8-
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
6+
# RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
97

108
RUN mkdir -p ${work_home}
119
WORKDIR ${work_home}
1210
COPY requirements.txt requirements.txt
13-
RUN pip install -r requirements.txt -i ${pip_url} --trusted-host ${pip_host}
11+
RUN pip install -r requirements.txt
1412
COPY . .

0 commit comments

Comments
 (0)