From df6e53a99a8f53f5116127f6b315ecc08d90bc05 Mon Sep 17 00:00:00 2001 From: Samarth Sugandhi Date: Sun, 31 May 2026 12:28:01 +0530 Subject: [PATCH] fix(docker): remove out-of-context plugins COPY, fix app entrypoint and host binding --- backend/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 82cbdbe9..b9b5acfb 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,13 +1,12 @@ FROM python:3.11-slim WORKDIR /app + COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt COPY secuscan ./secuscan -COPY plugins ./plugins EXPOSE 8081 -CMD ["uvicorn", "secuscan.api:app", "--host", "127.0.0.1", "--port", "8081"] - +CMD ["uvicorn", "secuscan.main:app", "--host", "0.0.0.0", "--port", "8081"] \ No newline at end of file