updated node version

This commit is contained in:
Damien Ostler 2024-02-10 20:36:24 -05:00
parent a562aff8c0
commit 03f8d44338

View File

@ -15,7 +15,7 @@ RUN \
# Rebuild the source code only when needed
FROM node:16-alpine AS builder
FROM node:18-alpine AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
@ -31,7 +31,7 @@ RUN yarn build
# RUN npm run build
# Production image, copy all the files and run next
FROM node:16-alpine AS runner
FROM node:18-alpine AS runner
WORKDIR /app
ENV NODE_ENV production
@ -54,4 +54,4 @@ EXPOSE 3000
ENV PORT 3000
CMD ["node", "server.js"]
CMD ["node", "server.js"]