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:
Alex Sears
2022-02-17 16:04:27 -05:00
parent f3942ca6f5
commit 05560ff1a3
4 changed files with 27 additions and 22 deletions

View File

@@ -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