Files
signage/Dockerfile
2026-06-20 16:49:48 +02:00

17 lines
311 B
Docker

FROM python:3.13-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt gunicorn
COPY . .
RUN addgroup --system app && adduser --system --ingroup app app && \
chown -R app:app /app
USER app
EXPOSE 5005
CMD ["gunicorn", "-b", "0.0.0.0:5005", "-w", "4", "app:app"]