We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 555b178 commit 49d9dc6Copy full SHA for 49d9dc6
Dockerfile
@@ -1,14 +1,12 @@
1
FROM python:3.6
2
-ARG pip_url=http://pypi.douban.com/simple
3
-ARG pip_host=pypi.douban.com
4
ARG work_home=/opt/cloud/izone
5
ENV PYTHONUNBUFFERED=1
6
7
# change repositories to aliyun and set timezone to Shanghai
8
-RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
+# RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
9
10
RUN mkdir -p ${work_home}
11
WORKDIR ${work_home}
12
COPY requirements.txt requirements.txt
13
-RUN pip install -r requirements.txt -i ${pip_url} --trusted-host ${pip_host}
+RUN pip install -r requirements.txt
14
COPY . .
0 commit comments