first docker release

This commit is contained in:
scriptos
2024-03-21 21:44:38 +01:00
parent c327998c10
commit ae13431522
4 changed files with 78 additions and 0 deletions

14
docker/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM python:3.8-slim
# Arbeitsverzeichnis im Container festlegen
WORKDIR /app
# Abhängigkeiten installieren
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
# Skript in das Arbeitsverzeichnis kopieren
COPY nox-forum-watcher.v1.py .
# Script festlegen, der ausgeführt werden soll, wenn der Container startet
CMD [ "python", "./nox-forum-watcher.v1.py" ]