Building 70 Projects ranging from beginner to advanced so anyone can β learn from, build upon, use as a reference, or even copy directly. Owned by my cybersecurity company π
Go aicertificationcloud-engineeringcybercybersecuritycybersecurity-analystcybersecurity-certificationcybersecurity-certificationscybersecurity-educationcybersecurity-jobscybersecurity-portfoliocybersecurity-projectscybersecurity-toolsgrchackinglearningpentestingproject-repositoryprojetcspython
[refactor]: relocate backend entrypoint outside bind mount
suryab34afd61b976
diff --git a/PROJECTS/advanced/ai-threat-detection/infra/docker/fastapi.dev b/PROJECTS/advanced/ai-threat-detection/infra/docker/fastapi.devindex fac6fb6c..375a40ec 100644--- a/PROJECTS/advanced/ai-threat-detection/infra/docker/fastapi.dev+++ b/PROJECTS/advanced/ai-threat-detection/infra/docker/fastapi.dev@@ -31,11 +31,11 @@ COPY backend/pyproject.toml ./RUN uv pip install --system -e ".[dev,ml]"COPY backend/ .-COPY infra/docker/entrypoint.sh /app/entrypoint.sh-RUN chmod +x /app/entrypoint.sh && \+COPY infra/docker/entrypoint.sh /entrypoint.sh+RUN chmod +x /entrypoint.sh && \mkdir -p /app/data/modelsEXPOSE 8000-ENTRYPOINT ["/app/entrypoint.sh"]+ENTRYPOINT ["/entrypoint.sh"]CMD ["uvicorn", "app.factory:create_app", "--factory", "--host", "0.0.0.0", "--port", "8000", "--reload"]