fix: chown sqlite volume after init

This commit is contained in:
JetSprow
2026-04-30 14:46:31 +10:00
parent f0b9fad70c
commit b2deee608f
3 changed files with 5 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
RUN npx prisma generate
CMD ["sh", "-c", "npm run db:push && npm run db:seed"]
CMD ["sh", "-c", "npm run db:push && npm run db:seed && chown -R 1001:1001 /app/storage"]
# --- runner: minimal production image ---
FROM base AS runner