cloudmon/Dockerfile
Bast 0863fe8576
All checks were successful
cloudmon GitOps Deploy / build-and-deploy (push) Successful in 21s
fix: schalte django static asset routing frei und korrigiere dateirechte im image
2026-11-01 10:42:32 -06:00

18 lines
423 B
Docker

FROM python:3.10-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt /app/
RUN pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir -r requirements.txt
COPY . /app/
# KORRIGIERT: Stellt sicher, dass die JS-Assets für Gunicorn lesbar sind
RUN chmod -R 755 /app/monitor/static/
EXPOSE 8000
CMD ["gunicorn", "core.wsgi:application", "--bind", "0.0.0.0:8000"]