webcrawler v0.1

This commit is contained in:
mkrieger 2024-11-13 18:40:55 +01:00
parent e2d9a197c0
commit 008e2bc274
18 changed files with 681 additions and 0 deletions

18
Dockerfile Normal file
View file

@ -0,0 +1,18 @@
# 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
# App-Dateien kopieren
COPY . .
# Flask Umgebungsvariable setzen
ENV FLASK_APP=app
# Flask starten
CMD ["flask", "run", "--host=0.0.0.0", "--port=5000"]