add Dockerfile and python script

This commit is contained in:
Denshooter
2024-01-12 23:08:08 +01:00
committed by GitHub
parent 4c9c8166ad
commit 0165b2f771
2 changed files with 104 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
# Verwenden Sie ein offizielles Python-Image als Basis
FROM python:3.12-alpine
# Arbeitsverzeichnis im Container festlegen
WORKDIR /app
RUN pip install --upgrade pip
# Installieren Sie die benötigten Python-Bibliotheken
RUN pip install requests
# Führen Sie das Python-Skript aus, wenn der Container gestartet wird
CMD ["python", "/app/Nulleinspeisung.py"]