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:10:08 +06:00
parent 79d1b6680f
commit bfd41d5590
3 changed files with 10 additions and 13 deletions

View File

@@ -2,16 +2,18 @@ FROM node:18
WORKDIR /app
# Копируем файлы package.json и package-lock.json
# Копируем package.json и package-lock.json
COPY frontend/package*.json ./
# Очищаем cache и node_modules
RUN npm cache clean --force
RUN rm -rf node_modules
# Устанавливаем зависимости и обновляем package-lock.json
# Устанавливаем зависимости
RUN npm install
# Устанавливаем Tailwind и его зависимости
RUN npm install -D tailwindcss@latest postcss@latest autoprefixer@latest
# Инициализируем Tailwind
RUN npx tailwindcss init -p
# Копируем исходный код
COPY frontend/ .