mirror of
https://github.com/JetSprow/J-Board-Lite.git
synced 2026-05-01 01:14:10 +05:30
fix: chown sqlite volume after init
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user