final
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
FROM python:3.12.12-slim
|
||||
WORKDIR /app
|
||||
COPY worker/requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt && useradd --system --uid 10001 worker
|
||||
COPY worker/pipeline ./pipeline
|
||||
USER worker
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
CMD ["python", "-m", "pipeline.main"]
|
||||
Reference in New Issue
Block a user