Update Dockerfile to use workspaces setup
The main Cal.com project has started using Yarn workspaces to break the project up into separate packages and treat the project as a monorepo. This required quite a few changes to the Dockerfile that assumed the previous project setup. Signed-off-by: Alex Sears <me@alexsears.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
set -x
|
||||
|
||||
/app/scripts/wait-for-it.sh ${DATABASE_HOST} -- echo "database is up"
|
||||
npx prisma migrate deploy
|
||||
/calcom/scripts/wait-for-it.sh ${DATABASE_HOST} -- echo "database is up"
|
||||
# npx prisma migrate deploy --schema /calcom/packages/prisma/schema.prisma
|
||||
yarn start
|
||||
|
||||
Reference in New Issue
Block a user