Use numeric UID 1001 instead of username for chown

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Kunthawat Greethong
2026-04-29 18:28:04 +07:00
parent f5b402f272
commit 7064a17716

View File

@@ -31,7 +31,7 @@ COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/dist ./dist COPY --from=builder /app/dist ./dist
COPY --from=builder /app/data.db ./data.db COPY --from=builder /app/data.db ./data.db
RUN chown astro:astro /app/data.db RUN chown 1001:1001 /app/data.db
EXPOSE 4321 EXPOSE 4321