10 lines
222 B
Docker
10 lines
222 B
Docker
|
|
FROM node:22-alpine AS build
|
||
|
|
WORKDIR /web
|
||
|
|
COPY package*.json ./
|
||
|
|
RUN npm install
|
||
|
|
COPY . .
|
||
|
|
RUN npm run build
|
||
|
|
FROM nginx:alpine
|
||
|
|
COPY --from=build /web/dist /usr/share/nginx/html
|
||
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|