This commit is contained in:
nquidox 2025-10-12 13:41:28 +03:00
parent 3a068f57dc
commit 122f123ba6
2 changed files with 14 additions and 2 deletions

View file

@ -1,5 +1,17 @@
FROM node:24.10-alpine3.22 AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci --prefer-offline --no-audit
COPY . .
RUN npm run build
FROM nginx:alpine
COPY dist/ /usr/share/nginx/html
COPY --from=builder /app/dist/ /usr/share/nginx/html/
COPY nginx.conf /etc/nginx/nginx.conf