From 9392eded43771b59b5b6aa3ac2e4c835ef564533 Mon Sep 17 00:00:00 2001 From: phantom Date: Thu, 27 Nov 2025 06:57:07 -0600 Subject: [PATCH] Switch base to alpine --- Dockerfile | 6 ++---- autopkg => autopkg.cron | 0 2 files changed, 2 insertions(+), 4 deletions(-) rename autopkg => autopkg.cron (100%) diff --git a/Dockerfile b/Dockerfile index b431138..91142e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,10 @@ FROM python:alpine as base -RUN apt-get update && apt-get install cron -y - WORKDIR /app COPY . . -COPY autopkg /etc/cron.d/ +RUN crontab autopkg.cron RUN pip install --no-cache-dir -r requirements.txt -CMD cron && python main.py +CMD crond -f && python main.py diff --git a/autopkg b/autopkg.cron similarity index 100% rename from autopkg rename to autopkg.cron