Merge pull request 'fix: run migrations before starting backend' (#43) from fix/auto-run-migrations into main
Some checks failed
CI / build-and-test (push) Has been cancelled

Reviewed-on: #43
This commit was merged in pull request #43.
This commit is contained in:
2026-07-12 14:08:00 +00:00
3 changed files with 4 additions and 4 deletions

View File

@@ -19,4 +19,4 @@ COPY backend/migrations ./migrations
COPY import ./import
EXPOSE 3000
ENV PORT=3000
CMD ["node", "dist/index.js"]
CMD ["sh", "-c", "node dist/migrate.js && node dist/index.js"]

View File

@@ -1,12 +1,12 @@
{
"name": "calendar-run-backend",
"version": "1.5.2",
"version": "1.5.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "calendar-run-backend",
"version": "1.5.2",
"version": "1.5.3",
"dependencies": {
"argon2": "^0.44.0",
"cookie-parser": "^1.4.7",

View File

@@ -1,6 +1,6 @@
{
"name": "calendar-run-backend",
"version": "1.5.2",
"version": "1.5.3",
"private": true,
"scripts": {
"build": "tsc",