updated dockerfile
This commit is contained in:
parent
ff5e15f271
commit
722edc1b73
|
@ -1,6 +1,8 @@
|
|||
|
||||
FROM node:18-alpine
|
||||
|
||||
RUN mkdir -p /app
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json ./
|
||||
|
@ -9,6 +11,9 @@ RUN npm install
|
|||
|
||||
RUN npm install --save-dev
|
||||
|
||||
|
||||
COPY . /app
|
||||
|
||||
# Build the Next.js app
|
||||
RUN npm run build
|
||||
|
||||
|
|
Loading…
Reference in New Issue