Knack-Scraper/Dockerfile

15 lines
231 B
Docker
Raw Normal View History

2023-10-19 20:53:36 +00:00
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 .