Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
Move prisma command to Dockerfile (#270)
Matthew Precious8aa63acf9384
diff --git a/Dockerfile b/Dockerfileindex c0933cd97..03d0af2ef 100644--- a/Dockerfile+++ b/Dockerfile@@ -24,4 +24,4 @@ WORKDIR /usr/src/appCOPY --from=build /app .-CMD [ "yarn", "start" ]\ No newline at end of file+CMD sh -c "yarn prisma migrate deploy --schema prisma/schema.prisma && yarn start"\ No newline at end of filediff --git a/docker-compose.yml b/docker-compose.ymlindex 0d3e794d0..cf4d9d88b 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -14,7 +14,6 @@ services:args:- DATABASE_URL=postgres://postgres:postgres@rallly_db:5432/db?pgbouncer=truerestart: always- command: sh -c "yarn prisma migrate deploy --schema prisma/schema.prisma && yarn start"depends_on:- rallly_dbports: