scripts now log to process 1 and therefore to docker logs
This commit is contained in:
16
Dockerfile
16
Dockerfile
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user