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

change docker555

This commit is contained in:
MoonTestUse1
2024-12-24 01:50:50 +06:00
parent f7ff56622b
commit 3e72e03ae5

View File

@@ -6,7 +6,13 @@ RUN apt-get update && apt-get install -y \
gcc \
&& rm -rf /var/lib/apt/lists/*
# Копируем requirements.txt первым
COPY backend/requirements.txt .
# Устанавливаем зависимости
RUN pip install --no-cache-dir -r requirements.txt
# Копируем остальные файлы
COPY ./backend /app/
COPY backend/ .
CMD ["python", "run.py"]