scripts now log to process 1 and therefore to docker logs

This commit is contained in:
socrates
2023-12-13 00:54:44 +01:00
parent c19896351a
commit 6ede613642
3 changed files with 22 additions and 9 deletions

View File

@@ -1,7 +1,19 @@
FROM debian:bookworm-slim
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && apt install -y vim cron tzdata python3-openpyxl python3-selenium python3-pyvirtualdisplay && rm -rf /var/lib/apt/lists/*
ENV PYTHONUNBUFFERED=1
ARG DEBIAN_FRONTEND=noninteractive
RUN apt update \
&& apt -y upgrade\
&& apt -y install \
vim \
cron \
tzdata \
python3-openpyxl \
python3-selenium \
python3-pyvirtualdisplay \
&& rm -rf /var/lib/apt/lists/*
RUN cp -r -f /usr/share/zoneinfo/Europe/Berlin /etc/localtime
COPY /parser.py /app/