Adds git. Purges apt cache after

This commit is contained in:
Aaron Louie 2020-05-20 15:04:41 -04:00
parent 97130e504a
commit 865188795f
1 changed files with 4 additions and 2 deletions

View File

@ -6,10 +6,12 @@ COPY Pipfile Pipfile.lock ./
RUN pip install pipenv && \
apt-get update && \
apt-get -y install --no-install-recommends gcc python3-dev libssl-dev postgresql-client git && \
apt-get install -y --no-install-recommends \
gcc python3-dev libssl-dev postgresql-client git-core && \
pipenv install --deploy --system && \
apt-get remove -y gcc python3-dev libssl-dev && \
apt-get autoremove -y
apt-get purge -y --auto-remove && \
rm -rf /var/lib/apt/lists/ *
COPY app ./