Knack-Scraper/Dockerfile
2023-10-19 22:53:36 +02:00

15 lines
No EOL
231 B
Docker

FROM python:slim
RUN mkdir /app
RUN mkdir /data
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN apt update -y
RUN apt install -y cron
COPY crontab .
RUN crontab crontab
COPY main.py .