Add files via upload :trollface:
This commit is contained in:
commit
a9cfc9b522
9 changed files with 425 additions and 0 deletions
16
Dockerfile
Normal file
16
Dockerfile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
FROM python:3.13-alpine
|
||||
|
||||
# crond refuses to stop on SIGINT for some reason
|
||||
STOPSIGNAL TERM
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt /app/requirements.txt
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY crontab /etc/crontabs/root
|
||||
|
||||
COPY main.py /app/main.py
|
||||
COPY user.session /app/user.session
|
||||
|
||||
CMD ["crond", "-f", "-l2"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue