Merge remote-tracking branch 'upstream/main'

This commit is contained in:
dohyeons 2025-10-02 17:37:31 +09:00
commit 8bd138f7de
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ RUN npm run build
FROM base AS runner FROM base AS runner
ENV NODE_ENV=production ENV NODE_ENV=production
# Create non-root user # Create non-root user with specific UID/GID
RUN groupadd -r appgroup && useradd -r -g appgroup appuser RUN groupadd -r appgroup --gid 1000 && useradd -r -g appgroup --uid 1000 appuser
# Copy production node_modules # Copy production node_modules
COPY --from=deps /app/node_modules ./node_modules COPY --from=deps /app/node_modules ./node_modules