ops: add Docker setup with Dockerfile and compose configuration

This commit is contained in:
2026-01-23 12:11:01 +01:00
parent acfcfb0a64
commit 4d1f706e6d
3 changed files with 33 additions and 0 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM python:3.13-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY monitor.py .
CMD ["python", "main.py"]

8
compose.yaml Normal file
View File

@@ -0,0 +1,8 @@
services:
PyT1:
build: .
restart: unless-stopped
env_file:
- .env
volumes:
- ./formd_monitor.log:/app/formd_monitor.log

12
requirements.txt Normal file
View File

@@ -0,0 +1,12 @@
# This file was autogenerated by uv via the following command:
# uv pip compile pyproject.toml -o requirements.txt
certifi==2026.1.4
# via requests
charset-normalizer==3.4.4
# via requests
idna==3.11
# via requests
requests==2.32.5
# via pyt1 (pyproject.toml)
urllib3==2.6.3
# via requests