First try
All checks were successful
release-tag / release-image (push) Successful in 47s

This commit is contained in:
2025-05-27 14:45:15 +03:00
parent 295ed58901
commit 158d3cd8df
4 changed files with 114 additions and 0 deletions

21
Dockerfile Normal file
View File

@ -0,0 +1,21 @@
FROM node:lts-alpine AS builder
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM nginx:alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=builder /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]