From c2e09c936188d3bc1ed993fadcfa15b6e05e8587 Mon Sep 17 00:00:00 2001 From: DatTT127 Date: Sun, 19 Jul 2026 09:11:46 +0700 Subject: [PATCH] update --- .../CODEBASE/deps/implementation/backend_deploy/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/workspace/sprint_1_2/CODEBASE/deps/implementation/backend_deploy/Dockerfile b/workspace/sprint_1_2/CODEBASE/deps/implementation/backend_deploy/Dockerfile index 942fc10..153cd45 100644 --- a/workspace/sprint_1_2/CODEBASE/deps/implementation/backend_deploy/Dockerfile +++ b/workspace/sprint_1_2/CODEBASE/deps/implementation/backend_deploy/Dockerfile @@ -95,12 +95,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ # Step 3: Use the exact matching numeric IDs for --chown COPY --from=builder --chown=999:999 /opt/venv /opt/venv -COPY --from=builder --chown=999:999 /app/backend /app/backend ENV PATH=/opt/venv/bin:$PATH # Copy application code -COPY --chown=999:999 backend ./backend - +COPY --from=builder --chown=999:999 /app/backend /app/backend # Switch to non-root user USER appuser