ваше сообщение коммита

This commit is contained in:
2025-04-21 10:40:57 +03:00
parent 483a1ef854
commit 5a8e62924c
20 changed files with 637 additions and 84 deletions

21
frontend/Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
FROM node:20-alpine
WORKDIR /app
# Устанавливаем дополнительные зависимости
RUN apk add --no-cache python3 make g++
# Копируем package.json и yarn.lock для установки зависимостей
COPY package.json yarn.lock ./
# Устанавливаем зависимости
RUN yarn install --frozen-lockfile
# Копируем остальные файлы проекта
COPY . .
# Экспозим порт
EXPOSE 5173
# Команда запуска по умолчанию
CMD ["yarn", "run", "dev"]