Skip to content

Commit

Permalink
fix: some domain-init init'ing
Browse files Browse the repository at this point in the history
  • Loading branch information
niekcandaele committed Oct 11, 2024
1 parent 581844c commit b744723
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion containers/takaro/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ ENV TAKARO_COMMIT=${TAKARO_COMMIT}
ENV TAKARO_BUILD_DATE=${TAKARO_BUILD_DATE}
ENV TAKARO_FULL_VERSION=${TAKARO_VERSION}-${TAKARO_COMMIT}-${TAKARO_BUILD_DATE}

CMD ["npm", "run", "-w", "packages/app-api", "domainInit", "&&", "npm", "run", "start:dev"]
CMD ["npm", "run", "start:dev"]
7 changes: 3 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/app-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "module",
"scripts": {
"start": "node --experimental-vm-modules --loader ../../node_modules/@takaro/util/dist/tracing.js dist/main.js",
"start:dev": "nodemon --exec 'npm run build && node --experimental-vm-modules --inspect=0.0.0.0:12001 --loader ../../node_modules/@takaro/util/dist/tracing.js dist/main.js' --config ../../nodemon.json",
"start:dev": "nodemon --exec 'npm run build && npm run domainInit && node --experimental-vm-modules --inspect=0.0.0.0:12001 --loader ../../node_modules/@takaro/util/dist/tracing.js dist/main.js' --config ../../nodemon.json",
"prestart:dev": "npm run db:migrate",
"preload": "node -e \"import('geolite2-redist').then(geolite => geolite.downloadDbs())\"",
"build": "tsc -p ./tsconfig.build.json",
Expand Down

0 comments on commit b744723

Please sign in to comment.