File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ RUN adduser --system \
77 --group \
88 deis
99
10- COPY . /app
10+ COPY requirements.txt /app/requirements.txt
1111
1212RUN buildDeps='gcc git libffi-dev libpq-dev python3-dev' ; \
1313 apt-get update && \
@@ -16,14 +16,16 @@ RUN buildDeps='gcc git libffi-dev libpq-dev python3-dev'; \
1616 libpq5 \
1717 python3 \
1818 sudo && \
19- ln -s /usr/bin/python3 /usr/bin/python && \
19+ ln -s /usr/bin/python3 /usr/bin/python && \
2020 curl -sSL https://bootstrap.pypa.io/get-pip.py | python - pip==8.1.2 && \
2121 mkdir -p /configs && chown -R deis:deis /configs && \
2222 pip install --disable-pip-version-check --no-cache-dir -r /app/requirements.txt && \
2323 apt-get purge -y --auto-remove $buildDeps && \
2424 apt-get clean && \
2525 rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/man /usr/share/doc
2626
27+ COPY . /app
28+
2729# define execution environment
2830WORKDIR /app
2931CMD ["/app/bin/boot" ]
You can’t perform that action at this time.
0 commit comments