This commit is contained in:
m
2026-03-16 04:30:50 +01:00
parent ef3ecd3f8f
commit 247d35f46a
2 changed files with 9 additions and 4 deletions

View File

@@ -1,7 +1,12 @@
FROM python:3.11-slim FROM python:3.11-slim
# Create a non-root user for security
RUN groupadd -g 1000 flaskuser && useradd -u 1000 -g flaskuser flaskuser ARG USER_UID=1000
ARG USER_GID=1000
# --build-arg USER_GID= USER_UID=
RUN groupadd -g "${USER_GID}" flaskuser \
&& useradd -u "${USER_UID}" -g "${USER_GID}" flaskuser
WORKDIR /app WORKDIR /app

Submodule content updated: f9d6a2d1ea...d0e3035242