heko_webcrawler/Dockerfile
2026-03-10 11:33:18 +01:00

20 lines
384 B
Docker

# Python Image
FROM python:3.10-slim
# Arbeitsverzeichnis setzen
WORKDIR /app
# Abhängigkeiten installieren
COPY requirements.txt requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
RUN apt update
RUN apt install curl -y
# App-Dateien kopieren
COPY . .
ENV FLASK_APP=app
ENV FLASK_ENV=production
EXPOSE 5000
CMD ["flask", "run", "--host=0.0.0.0", "--port=5000"]