Skip to content

Commit

Permalink
Use debian slim base image version
Browse files Browse the repository at this point in the history
  • Loading branch information
BWibo committed Nov 13, 2024
1 parent ce725f5 commit 8bb5ed8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASEIMAGE_TAG='21-bookworm'
ARG BASEIMAGE_TAG='21-bookworm-slim'
FROM "node:${BASEIMAGE_TAG}"

RUN set -ex \
Expand All @@ -14,6 +14,7 @@ COPY /docker/package.json /docker/server.js /docker/html/ ./

RUN set -ex && \
npm install --omit=dev && \
npm cache clean --force && \
chown -R node:node .

USER node
Expand Down

0 comments on commit 8bb5ed8

Please sign in to comment.