cloudmon/Dockerfile

19 lines
423 B
Text
Raw Normal View History

2026-11-01 12:39:17 +00:00
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/
2026-11-01 12:39:17 +00:00
EXPOSE 8000
CMD ["gunicorn", "core.wsgi:application", "--bind", "0.0.0.0:8000"]