regex catastrophic backtracking fix + background job update db
This commit is contained in:
20
CronDockerfile
Normal file
20
CronDockerfile
Normal 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"]
|
Reference in New Issue
Block a user