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 66f4387..d671e9d 100644 --- a/workspace/sprint_1_2/CODEBASE/deps/implementation/backend_deploy/Dockerfile +++ b/workspace/sprint_1_2/CODEBASE/deps/implementation/backend_deploy/Dockerfile @@ -93,9 +93,11 @@ FROM python:3.12-slim-bookworm AS runtime WORKDIR /app +ENV PYTHONDONTWRITEBYTECODE=1 +ENV PYTHONUNBUFFERED=1 # Step 2: Assign an explicit numeric ID (like 999) when creating the user/group RUN groupadd -g 999 appgroup && \ - useradd -r -u 999 -g appgroup -d /app -s /sbin/nologin appuser + useradd -r -l -u 999 -g appgroup -d /app -s /sbin/nologin appuser # RUN apt-get update && apt-get install -y --no-install-recommends \ # libgl1 \