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

тестd32123

This commit is contained in:
MoonTestUse1
2025-01-05 00:52:07 +06:00
parent 3def094a5d
commit 49c60a3583
2 changed files with 8 additions and 4 deletions

View File

@@ -7,17 +7,15 @@ COPY frontend/package*.json ./
# Очищаем cache и node_modules
RUN npm cache clean --force
RUN rm -rf node_modules
RUN rm -rf node_modules package-lock.json
# Устанавливаем зависимости
RUN npm install
RUN npm install axios@1.6.2
# Копируем исходный код
COPY frontend/ .
# Создаем .env файл
RUN echo "VITE_API_URL=/api" > .env
# Открываем порт для Vite
EXPOSE 5173