feat: update dockerfile

This commit is contained in:
hanif salafi 2024-12-25 00:07:38 +07:00
parent 458dd51f28
commit 5069332589
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM node:21-alpine
FROM node:23.5.0-alpine
ENV PORT 3000
@ -10,8 +10,8 @@ WORKDIR /usr/src/app
COPY package*.json /usr/src/app/
# RUN npm install --force
# RUN npm install -g npm@11.0.0
RUN npm install --legacy-peer-deps
RUN npm install -g npm@11.0.0
RUN npm install next --legacy-peer-deps
# Copying source files
COPY . /usr/src/app