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

вв222323232231

This commit is contained in:
MoonTestUse1
2025-01-05 00:06:48 +06:00
parent 18c59a71c9
commit 79d1b6680f
2 changed files with 7 additions and 6 deletions

View File

@@ -9,8 +9,8 @@ COPY frontend/package*.json ./
RUN npm cache clean --force
RUN rm -rf node_modules
# Устанавливаем зависимости через npm ci для точного соответствия package-lock.json
RUN npm ci
# Устанавливаем зависимости и обновляем package-lock.json
RUN npm install
# Копируем исходный код
COPY frontend/ .
@@ -19,4 +19,5 @@ COPY frontend/ .
EXPOSE 5173
# Запускаем Vite сервер
CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0"]
ENV HOST=0.0.0.0
CMD ["npm", "run", "dev", "--", "--host"]

View File

@@ -15,10 +15,10 @@
"pinia": "^2.1.7",
"vue": "^3.4.21",
"vue-router": "^4.3.0",
"axios": "^1.6.2"
"axios": "^1.7.9"
},
"devDependencies": {
"@types/node": "^20.11.24",
"@types/node": "^20.17.11",
"@vitejs/plugin-vue": "^5.0.4",
"autoprefixer": "^10.4.18",
"postcss": "^8.4.35",
@@ -26,6 +26,6 @@
"typescript": "^5.2.2",
"vite": "^5.1.4",
"vue-tsc": "^2.0.6",
"@tailwindcss/forms": "^0.5.7"
"@tailwindcss/forms": "^0.5.9"
}
}