mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-23 21:27:10 +00:00
20 lines
391 B
Docker
20 lines
391 B
Docker
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"]
|