16 lines
175 B
Docker
16 lines
175 B
Docker
|
FROM node:20 AS build-stage
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY . .
|
||
|
|
||
|
RUN npm install
|
||
|
|
||
|
RUN npm run build
|
||
|
|
||
|
FROM nginx:latest
|
||
|
|
||
|
COPY --from=build-stage /app/src /usr/share/nginx/html/
|
||
|
|
||
|
EXPOSE 80
|