File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,19 +10,20 @@ RUN adduser --system \
1010COPY requirements.txt /app/requirements.txt
1111
1212RUN buildDeps='gcc git libffi-dev libpq-dev python3-dev' ; \
13- apt-get update && \
14- apt-get install -y --no-install-recommends \
13+ apt-get update && \
14+ apt-get install -y --no-install-recommends \
1515 $buildDeps \
1616 libpq5 \
1717 python3 \
1818 sudo && \
1919 ln -s /usr/bin/python3 /usr/bin/python && \
20- curl -sSL https://bootstrap.pypa.io/get-pip.py | python - pip==8.1.2 && \
21- mkdir -p /configs && chown -R deis:deis /configs && \
22- pip install --disable-pip-version-check --no-cache-dir -r /app/requirements.txt && \
23- apt-get purge -y --auto-remove $buildDeps && \
24- apt-get clean && \
25- rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/man /usr/share/doc
20+ curl -sSL https://bootstrap.pypa.io/get-pip.py | python - pip==8.1.2 && \
21+ mkdir -p /configs && chown -R deis:deis /configs && \
22+ pip install --disable-pip-version-check --no-cache-dir -r /app/requirements.txt && \
23+ rm -rf /root/.cache/pip/* && \
24+ apt-get purge -y --auto-remove $buildDeps && \
25+ apt-get clean && \
26+ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/man /usr/share/doc
2627
2728COPY . /app
2829
You can’t perform that action at this time.
0 commit comments