diff --git a/.dockerignore b/.dockerignore index 96ae5ca..fe8fcbc 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,9 @@ venv +.venv .idea .git .DS_Store +__pycache__ +*.pyc +.ruff_cache +.pytest_cache diff --git a/Dockerfile b/Dockerfile index 39bd746..db18c6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,9 +35,8 @@ pip install -r /app/deploy/requirements.txt rm -rf /var/lib/apt/lists/* EOS -COPY ./ /app/ +COPY --chmod=755 ./ /app/ 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 \ CMD python3 /app/deploy/health_check.py