fix: run database migration before starting services in Dockerfile

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Julien Calixte
2026-02-09 22:02:13 +01:00
parent 5fb8167263
commit 069951dff2

View File

@@ -14,4 +14,4 @@ ENV SQLITE_PATH=/data/notes.db
EXPOSE 8080 EXPOSE 8080
CMD ["sh", "-c", "deno task jetstream:prod & deno task server:prod"] CMD ["sh", "-c", "deno task migrate && deno task jetstream:prod & deno task server:prod"]