File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ RUN adduser --system \
7
7
--group \
8
8
deis
9
9
10
- COPY . /app
10
+ COPY requirements.txt /app/requirements.txt
11
11
12
12
RUN buildDeps='gcc git libffi-dev libpq-dev python3-dev' ; \
13
13
apt-get update && \
@@ -16,14 +16,16 @@ RUN buildDeps='gcc git libffi-dev libpq-dev python3-dev'; \
16
16
libpq5 \
17
17
python3 \
18
18
sudo && \
19
- ln -s /usr/bin/python3 /usr/bin/python && \
19
+ ln -s /usr/bin/python3 /usr/bin/python && \
20
20
curl -sSL https://bootstrap.pypa.io/get-pip.py | python - pip==8.1.2 && \
21
21
mkdir -p /configs && chown -R deis:deis /configs && \
22
22
pip install --disable-pip-version-check --no-cache-dir -r /app/requirements.txt && \
23
23
apt-get purge -y --auto-remove $buildDeps && \
24
24
apt-get clean && \
25
25
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/man /usr/share/doc
26
26
27
+ COPY . /app
28
+
27
29
# define execution environment
28
30
WORKDIR /app
29
31
CMD ["/app/bin/boot" ]
You can’t perform that action at this time.
0 commit comments