mirror of
https://github.com/denshooter/nulleinspeisung.git
synced 2026-01-21 12:43:03 +01:00
add Dockerfile and python script
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal 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"]
|
||||
|
||||
Reference in New Issue
Block a user