feat: update dockerfile
This commit is contained in:
parent
458dd51f28
commit
5069332589
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue