diff --git a/Dockerfile b/Dockerfile index 5c7084d..a11418b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,6 +31,8 @@ COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/dist ./dist COPY --from=builder /app/data.db ./data.db +RUN chown astro:astro /app/data.db + EXPOSE 4321 CMD ["node", "./dist/server/entry.mjs"]