From 4d1f706e6d48eb6bb61468ea2a28134054e86179 Mon Sep 17 00:00:00 2001 From: WOBBLEFANG THE THIRD Date: Fri, 23 Jan 2026 12:11:01 +0100 Subject: [PATCH] ops: add Docker setup with Dockerfile and compose configuration --- Dockerfile | 13 +++++++++++++ compose.yaml | 8 ++++++++ requirements.txt | 12 ++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 Dockerfile create mode 100644 compose.yaml create mode 100644 requirements.txt diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d1e1ce6 --- /dev/null +++ b/Dockerfile @@ -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"] \ No newline at end of file diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..0be1055 --- /dev/null +++ b/compose.yaml @@ -0,0 +1,8 @@ +services: + PyT1: + build: . + restart: unless-stopped + env_file: + - .env + volumes: + - ./formd_monitor.log:/app/formd_monitor.log \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..d7b7429 --- /dev/null +++ b/requirements.txt @@ -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