v1.0.0b1
This commit is contained in:
13
Dockerfile
13
Dockerfile
@@ -1,3 +1,12 @@
|
||||
FROM python:3-trixie as base
|
||||
FROM python:bookworm as base
|
||||
|
||||
WORKDIR /app
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user