16 lines
400 B
Docker
16 lines
400 B
Docker
FROM debian:bookworm-slim
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
RUN apt update && apt install -y 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 . /app/
|
|
|
|
RUN mkdir -p /app/files
|
|
RUN mkdir -p /app/log
|
|
|
|
WORKDIR /app/
|
|
|
|
RUN crontab conf/crontab
|
|
|
|
##CMD [ "crond", "-f" ] |