Patch any python3 version

This commit is contained in:
tcely
2025-02-05 22:57:33 -05:00
committed by GitHub
parent 1530b6bee1
commit 8efc845228

View File

@@ -368,7 +368,8 @@ RUN set -x && \
COPY config/root /
# patch background_task
ADD https://github.com/tcely/django-background-tasks/raw/refs/heads/locked-logic-fix/background_task/models.py /usr/local/lib/python3.11/dist-packages/background_task/models.py
ADD https://github.com/tcely/django-background-tasks/raw/refs/heads/locked-logic-fix/background_task/models.py \
/usr/local/lib/python3.*/dist-packages/background_task/models.py
# Create a healthcheck
HEALTHCHECK --interval=1m --timeout=10s --start-period=3m CMD ["/app/healthcheck.py", "http://127.0.0.1:8080/healthcheck"]