update
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user