mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-23 02:47:10 +00:00
this will left production in ruins
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user