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 fbe58a4 commit 2558799Copy full SHA for 2558799
Dockerfile
@@ -6,15 +6,14 @@ ENV LANG en_US.UTF-8
6
RUN ln -s -f /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
7
curl -fsSL https://setup.ius.io/ | sh && \
8
yum update -y && \
9
- yum install -y python36u python36u-devel python36u-pip && \
+ yum install -y python36u python36u-devel python36u-pip gcc postgresql-libs postgresql-devel && \
10
mkdir ~/.pip && \
11
echo -e "[global]\nindex-url=http://pypi.douban.com/simple/\ntrusted-host=pypi.douban.com">~/.pip/pip.conf && \
12
yum clean all
13
14
RUN yum install -y supervisor
15
16
RUN mkdir -p /deploy
17
-#VOLUME /deploy
18
WORKDIR /deploy
19
COPY requirements.txt /deploy/requirements.txt
20
RUN pip3.6 install -r requirements.txt --timeout=120
0 commit comments