File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -63,4 +63,7 @@ COPY --from=builder /triggerdotdev/scripts ./scripts
6363
6464EXPOSE 3000
6565
66+ RUN npm install -g prisma@4.16.0
67+ RUN npm install -g ts-node
68+
6669CMD ["./scripts/entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ if [ -n "$DATABASE_HOST" ]; then
55 scripts/wait-for-it.sh ${DATABASE_HOST} -- echo " database is up"
66fi
77
8- npx prisma migrate deploy --schema /triggerdotdev/packages/database/prisma/schema.prisma
9- npx ts-node@latest --transpile-only /triggerdotdev/apps/webapp/prisma/seed.ts
10- npx turbo run start
8+ npx --no-install prisma migrate deploy --schema /triggerdotdev/packages/database/prisma/schema.prisma
9+ npx --no-install ts-node --transpile-only /triggerdotdev/apps/webapp/prisma/seed.ts
10+ cd /triggerdotdev/apps/webapp && npm run start
You can’t perform that action at this time.
0 commit comments