update
Some checks failed
Backend EC - Modal Deployment / build-and-push (push) Successful in 7m26s
Backend EC - Modal Deployment / notify-deploy (push) Failing after 4m29s

This commit is contained in:
DatTT127
2026-07-19 15:27:30 +07:00
parent 501ae4fcf9
commit 26853a1a63

View File

@@ -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 \