Update Dockerfile

Fix missing dash, add cache cleanup to reduce image size
This commit is contained in:
Matthew Connelly 2022-10-24 14:05:45 +01:00 committed by GitHub
parent 1fc80fe1dd
commit e4e3d0a404
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -20,8 +20,10 @@ FROM python:slim as run
RUN apt update && \
apt upgrade -y && \
apt install -no-install-recommends -y \
git
apt install --no-install-recommends -y \
git && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY --from=build /v /v