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