Skip to content

Commit

Permalink
refactor: use node 20 in docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed Nov 12, 2024
1 parent b1a4a47 commit 7d3b162
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM node:16-alpine
FROM node:20-alpine
EXPOSE 8001

WORKDIR /home/node/app

RUN apk add --no-cache tini
RUN npm -g install npm@8
RUN npm -g install npm@10

ADD package.json .
ADD package-lock.json .

RUN npm ci --production
RUN npm ci --omit=dev

ADD bin bin
ADD lib lib
Expand Down

0 comments on commit 7d3b162

Please sign in to comment.