Skip to content

Commit

Permalink
bump nodejs version to 18 in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbasPL committed Jul 14, 2023
1 parent 78b8888 commit 965dd4d
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 build
FROM node:18-alpine as build

WORKDIR /builder

Expand All @@ -10,7 +10,7 @@ COPY . .

RUN yarn build

FROM node:16-alpine
FROM node:18-alpine

ENV NODE_ENV=production
ENV PORT=3000
Expand All @@ -28,4 +28,4 @@ COPY --from=build /builder/dist ./dist

EXPOSE ${PORT}

CMD [ "node", "dist/index.js" ]
CMD [ "node", "dist/index.js" ]

0 comments on commit 965dd4d

Please sign in to comment.