Skip to content

Commit

Permalink
build: update dockerized image nodejs version
Browse files Browse the repository at this point in the history
  • Loading branch information
async3619 committed Apr 4, 2023
1 parent 58d4e5d commit 997a779
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,4 +1,4 @@
FROM node:16-alpine as builder
FROM node:18-alpine as builder

RUN apk add --update --no-cache curl git openssh openssl

Expand All @@ -18,7 +18,7 @@ ENV NODE_ENV ${NODE_ENV}

RUN ["yarn", "build"]

FROM node:16-alpine as prod-deps
FROM node:18-alpine as prod-deps

USER node
WORKDIR /home/node
Expand All @@ -35,7 +35,7 @@ ENV NODE_ENV ${NODE_ENV}

CMD [ "node", "dist/main" ]

FROM node:16-alpine as production
FROM node:18-alpine as production

USER node
WORKDIR /home/node
Expand Down

0 comments on commit 997a779

Please sign in to comment.