Update Dockerfile
Fix missing dash, add cache cleanup to reduce image size
This commit is contained in:
parent
1fc80fe1dd
commit
e4e3d0a404
|
@ -20,8 +20,10 @@ FROM python:slim as run
|
||||||
|
|
||||||
RUN apt update && \
|
RUN apt update && \
|
||||||
apt upgrade -y && \
|
apt upgrade -y && \
|
||||||
apt install -no-install-recommends -y \
|
apt install --no-install-recommends -y \
|
||||||
git
|
git && \
|
||||||
|
apt-get clean && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY --from=build /v /v
|
COPY --from=build /v /v
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue