test build and deploy #10
@@ -12,7 +12,7 @@ COPY api/ api/
|
|||||||
|
|
||||||
# Копирование зависимостей
|
# Копирование зависимостей
|
||||||
# COPY requirements.txt .
|
# COPY requirements.txt .
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r api/requirements.txt
|
||||||
|
|
||||||
# Создание непривилегированного пользователя
|
# Создание непривилегированного пользователя
|
||||||
# RUN useradd -m -u 1000 appuser && chown -R appuser:appuser /app
|
# RUN useradd -m -u 1000 appuser && chown -R appuser:appuser /app
|
||||||
|
|||||||
Reference in New Issue
Block a user