diff --git a/Dockerfile b/Dockerfile index 636dbfc..594fb2f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,7 @@ COPY --from=prep /tmp/hugo.deb /tmp/hugo.deb RUN \ apt update && \ DEBIAN_FRONTEND=noninteractive apt -y upgrade && \ - apt install -y /tmp/hugo.deb && rm /tmp/hugo.deb + apt install -y /tmp/hugo.deb && \ + rm -rf /var/lib/apt/lists/ /tmp/hugo.deb ENTRYPOINT [ "/usr/local/bin/hugo" ]