1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

вв222323

This commit is contained in:
MoonTestUse1
2025-01-04 20:07:00 +06:00
parent 85012cd771
commit 073cd521b5

View File

@@ -1,4 +1,4 @@
FROM node:18-alpine
FROM node:18
WORKDIR /app
@@ -7,6 +7,7 @@ COPY frontend/package*.json ./
# Устанавливаем зависимости
RUN npm install
RUN npm rebuild rollup
# Копируем исходный код
COPY frontend/ .
@@ -15,4 +16,4 @@ COPY frontend/ .
EXPOSE 5173
# Запускаем Vite сервер
CMD ["npm", "run", "dev", "--", "--host"]
CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0"]