Skip to content

Commit

Permalink
feat: remove db migration when app is starting
Browse files Browse the repository at this point in the history
  • Loading branch information
pradel committed Jul 12, 2024
1 parent 503ad5e commit 98795c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/lemon-singers-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"stackspulse": patch
---

Remove sqlite db migration in docker.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ ENV DATABASE_PATH="file:/data/sqlite.db"

# Start the server by default, this can be overwritten at runtime
EXPOSE 3000
CMD pnpm db:migrate && pnpm dotenvx run -- node server.js
CMD pnpm dotenvx run -- node server.js

0 comments on commit 98795c3

Please sign in to comment.