bump nodejs version to 18 in Dockerfile

This commit is contained in:
dumbasPL 2023-07-14 22:57:56 +02:00
parent 78b88882cc
commit 965dd4dd63

View file

@ -1,4 +1,4 @@
FROM node:16-alpine as build
FROM node:18-alpine as build
WORKDIR /builder
@ -10,7 +10,7 @@ COPY . .
RUN yarn build
FROM node:16-alpine
FROM node:18-alpine
ENV NODE_ENV=production
ENV PORT=3000
@ -28,4 +28,4 @@ COPY --from=build /builder/dist ./dist
EXPOSE ${PORT}
CMD [ "node", "dist/index.js" ]
CMD [ "node", "dist/index.js" ]