test build and deploy #10

Open
RaiLinKey wants to merge 12 commits from fix into test
Showing only changes of commit 34640858d8 - Show all commits

View File

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