edited docker file
This commit is contained in:
parent
f19a08d770
commit
f2c968d32c
|
@ -1,14 +1,12 @@
|
||||||
FROM node:18-alpine
|
FROM node:20 AS build-stage
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package.json .
|
COPY package*.json /app/
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
RUN npm i -g serve
|
COPY ./ /app/
|
||||||
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue