13 lines
206 B
Docker
13 lines
206 B
Docker
FROM python:bookworm as base
|
|
|
|
RUN apt-get update && apt-get install cron -y
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
|
COPY autopkg /etc/cron.d/
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
CMD cron && python main.py
|