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

This commit is contained in:
host committed 2026-07-18 15:05:21 +03:00
1 parent 0907234f4a
commit 0372e2c5f1
9 files changed
+284

No files matched your search

+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