Skip to content

Commit

Permalink
build: fix new dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
pnicolli committed Sep 6, 2024
1 parent ef842d7 commit 3194c82
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,15 @@ LABEL maintainer="RedTurtle" \
org.label-schema.description="Plone theme for Italian Public Administration" \
org.label-schema.vendor="RedTurtle"

USER root

RUN <<EOT
set -e
apt update
apt install -y --no-install-recommends libvips-dev
rm -rf /var/lib/apt/lists/*
EOT

USER node

COPY --from=builder /app/ /app/

0 comments on commit 3194c82

Please sign in to comment.