Skip to content

Commit

Permalink
feat: update Alpine version in Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
jeberhardt committed Aug 13, 2024
1 parent ef4ca30 commit 7ef2147
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM alpine:3.13 AS base-build
FROM alpine:3.20 AS base-build
COPY . /root/
RUN apk add nodejs-current npm \
&& cd \
&& npm i --production

FROM alpine:3.13
FROM alpine:3.20
COPY --from=base-build /usr/lib/node_modules/ /usr/lib/node_modules
RUN apk add nodejs-current dumb-init --no-cache\
&& ln -s /usr/lib/node_modules/npm/bin/npm-cli.js /usr/bin/npm \
Expand Down

0 comments on commit 7ef2147

Please sign in to comment.