Dockerfile.brancheneinstufung aktualisiert

This commit is contained in:
2025-08-21 14:49:11 +00:00
parent 026d5bab4f
commit 7a116cf20f

View File

@@ -1,19 +1,12 @@
# Dockerfile (v5.0 - Simple Reverse Proxy Target)
FROM python:3.8-slim
WORKDIR /app
ENV PYTHONPATH=/app
RUN apt-get update && apt-get install -y dos2unix && \
rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y dos2unix wget && rm -rf /var/lib/apt/lists/*
RUN wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 -O /usr/local/bin/cloudflared && chmod +x /usr/local/bin/cloudflared
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN dos2unix /app/start.sh
RUN chmod +x /app/start.sh
EXPOSE 8080
CMD ["/app/start.sh"]