regex catastrophic backtracking fix + background job update db

This commit is contained in:
2024-01-31 21:56:16 +01:00
parent 3b6e66c886
commit c7a4bc711d
8 changed files with 103 additions and 54 deletions

20
CronDockerfile Normal file
View File

@ -0,0 +1,20 @@
FROM python:bookworm
COPY /Cronrequirements.txt /
RUN pip3 install --upgrade pip
RUN pip3 install -r /Cronrequirements.txt
COPY ./src/background.py /app/background.py
WORKDIR /app
ENV WAIT_TIME="1d"
CMD ["python", "background.py"]