Use numeric UID 1001 instead of username for chown
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user