forked from mtusi2026/mtusi2026lab7
fix(security): enforce S3 boundaries and configure persistent audit
This commit is contained in:
+2
-1
@@ -16,7 +16,8 @@ ARG VCS_REF=unknown
|
||||
LABEL org.opencontainers.image.revision=$VCS_REF
|
||||
WORKDIR /app
|
||||
ENV PATH="/app/.venv/bin:$PATH" PYTHONUNBUFFERED=1 PYTHONDONTWRITEBYTECODE=1 APP_HOST=0.0.0.0 APP_PORT=8080
|
||||
RUN groupadd --gid 10001 app && useradd --uid 10001 --gid app --no-create-home app
|
||||
RUN groupadd --gid 10001 app && useradd --uid 10001 --gid app --no-create-home app \
|
||||
&& python -m pip uninstall -y pip
|
||||
COPY --from=builder /app/.venv /app/.venv
|
||||
COPY --from=gateway /out/tls-gateway /usr/local/bin/tls-gateway
|
||||
COPY src /app/src
|
||||
|
||||
Reference in New Issue
Block a user