This commit is contained in:
2026-06-14 09:27:21 -06:00
parent 90d1a2aa30
commit 9949ebf1c5
2 changed files with 6 additions and 2 deletions

View File

@@ -1,4 +1,9 @@
venv venv
.venv
.idea .idea
.git .git
.DS_Store .DS_Store
__pycache__
*.pyc
.ruff_cache
.pytest_cache

View File

@@ -35,9 +35,8 @@ pip install -r /app/deploy/requirements.txt
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
EOS EOS
COPY ./ /app/ COPY --chmod=755 ./ /app/
RUN mkdir -p /app/dist/ RUN mkdir -p /app/dist/
RUN chmod -R u=rwX,go=rX ./ && chmod +x ./deploy/entrypoint.sh
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD python3 /app/deploy/health_check.py CMD python3 /app/deploy/health_check.py