Compare commits

...

2 Commits

Author SHA1 Message Date
Vakanaut
e68df524ef fix: run migrations before starting backend
Some checks failed
CI / build-and-test (pull_request) Has been cancelled
2026-07-12 17:07:32 +03:00
ea7b8aff7a Merge pull request 'feature/profile-usernames' (#42) from feature/profile-usernames into main
Some checks failed
CI / build-and-test (push) Has been cancelled
Reviewed-on: #42
2026-07-12 14:01:49 +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",