zoom and some issue fix
All checks were successful
/ print-content (push) Successful in 17s

This commit is contained in:
암냥 2026-03-12 19:16:07 +09:00
commit a771da8902
No known key found for this signature in database
2 changed files with 40 additions and 15 deletions

View file

@ -37,24 +37,9 @@ RUN --mount=type=bind,source=src,target=src \
FROM docker.io/library/alpine:3.18 AS final
# Create a non-privileged user (recommended best practice)
ARG UID=10001
RUN adduser \
--disabled-password \
--gecos "" \
--home "/nonexistent" \
--shell "/sbin/nologin" \
--no-create-home \
--uid "${UID}" \
imnyang
RUN mkdir -p /app
RUN chmod -R 755 /app
RUN mkdir -p /app/uploads
RUN chown -R imnyang:imnyang /app
# Drop privileges for runtime.
USER imnyang
WORKDIR /app