Удалена папка node_modules из отслеживания

This commit is contained in:
nafer committed 2026-05-20 12:03:52 +03:00
commit 304a780bab
30 files changed
+3623

No files matched your search

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