this will left production in ruins

This commit is contained in:
ITQ
2025-03-02 17:04:44 +03:00
parent c139f88a20
commit 9612b67721
15 changed files with 692 additions and 8 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM docker.io/python:3.11-slim
ENV PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
&& rm -rf /var/lib/apt/lists/*
COPY checker_requirements.txt .
RUN pip install --no-cache-dir -r checker_requirements.txt
RUN useradd -m appuser && chown -R appuser /app
USER appuser
WORKDIR /app
CMD ["python"]