This commit is contained in:
2025-08-26 13:51:15 -04:00
parent e1c7e825af
commit 39e850f8ac
6 changed files with 705 additions and 19 deletions

View File

@ -44,9 +44,13 @@ COPY --from=builder /app/api-key-service /app/api-key-service
# Copy migration files
COPY --from=builder /app/migrations /app/migrations
# Copy template files
COPY --from=builder /app/templates /app/templates
# Change ownership to non-root user
RUN chown -R appuser:appgroup /app && \
chmod -R 755 /app/migrations
chmod -R 755 /app/migrations && \
chmod -R 755 /app/templates
# Switch to non-root user
USER appuser