forked from LeineLab-Public/lab-signal-bot
18 lines
396 B
Docker
18 lines
396 B
Docker
# Basis-Image (kann je nach Python-Version angepasst werden)
|
|
FROM python:3.13-slim
|
|
|
|
# Arbeitsverzeichnis erstellen
|
|
WORKDIR /app
|
|
|
|
# Requirements in den Container kopieren
|
|
COPY requirements.txt requirements.txt
|
|
|
|
# Abhängigkeiten installieren
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Quellcode in den Container kopieren
|
|
COPY . .
|
|
|
|
# Flask Server starten
|
|
CMD ["python", "-u", "main.py"]
|