fix dockerfile
Some checks failed
CI/CD / test-backend (pull_request) Successful in 7s
CI/CD / test-frontend (pull_request) Successful in 10s
CI/CD / build-and-deploy (pull_request) Failing after 41s
CI/CD Pipeline / Overall Status ✅ Все проверки прошли успешно
CI/CD / pr-status (pull_request) Successful in 1s

This commit is contained in:
2026-04-02 17:30:26 +03:00
parent 3359d088e9
commit 34640858d8

View File

@@ -7,13 +7,13 @@ WORKDIR /app
# gcc \
# && rm -rf /var/lib/apt/lists/*
# Копирование зависимостей
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Копирование кода приложения
COPY api/ .
# Копирование зависимостей
# COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Создание непривилегированного пользователя
# RUN useradd -m -u 1000 appuser && chown -R appuser:appuser /app
# USER appuser