Switch base to alpine
All checks were successful
Build Docker Image / build (push) Successful in 30s

This commit is contained in:
2025-11-27 06:57:07 -06:00
parent 7f7d671fb1
commit 9392eded43
2 changed files with 2 additions and 4 deletions

View File

@@ -1,12 +1,10 @@
FROM python:alpine as base FROM python:alpine as base
RUN apt-get update && apt-get install cron -y
WORKDIR /app WORKDIR /app
COPY . . COPY . .
COPY autopkg /etc/cron.d/
RUN crontab autopkg.cron
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
CMD cron && python main.py CMD crond -f && python main.py