This commit is contained in:
snp
2026-03-05 15:02:31 +11:00
commit 10bd72e91b
5 changed files with 280 additions and 0 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM mcr.microsoft.com/playwright/python:v1.50.0-jammy
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Ensure chromium deps are present
RUN playwright install --with-deps chromium
COPY arcwater_to_influx.py .
COPY entrypoint.sh .
RUN chmod +x /app/entrypoint.sh
ENV PYTHONUNBUFFERED=1
ENTRYPOINT ["/app/entrypoint.sh"]