16 lines
380 B
Docker
16 lines
380 B
Docker
|
|
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"]
|