Загрузить файлы в «/»

This commit is contained in:
2026-07-18 15:05:21 +03:00
parent 0907234f4a
commit 0372e2c5f1
9 changed files with 284 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
FROM node:20-slim AS build
WORKDIR /app
COPY package.json ./
RUN npm install
COPY . .
RUN npm run build
FROM nginx:1.27-alpine
COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 5173