fix: Make Docker build correctly
Some checks failed
Build and push image to DockerHub / build (push) Has been cancelled

This commit is contained in:
Robert Prehn 2022-05-12 15:51:15 -05:00
parent f7955a6aad
commit fce4577a26
5 changed files with 9 additions and 3 deletions

5
.gitignore vendored
View file

@ -1,4 +1,7 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# .env file
.env
.env
# Kubernetes secrets config
kube.yaml

1
.tool-versions Normal file
View file

@ -0,0 +1 @@
nodejs 14.15.4

View file

@ -84,5 +84,7 @@ COPY --from=builder /calcom/apps/web/package.json ./apps/web/package.json
COPY --from=builder calcom/packages/prisma/schema.prisma ./prisma/schema.prisma
COPY scripts scripts
COPY .env .env
EXPOSE 3000
CMD ["/calcom/scripts/start.sh"]

2
calcom

@ -1 +1 @@
Subproject commit 9440df44454dd7e1ce71adfe74fe728b3809aeeb
Subproject commit f83ed78cf692d977d08fcd186732ac64e1351b34

View file

@ -1,6 +1,6 @@
#!/bin/sh
set -x
scripts/wait-for-it.sh ${DATABASE_HOST} -- echo "database is up"
source .env
npx prisma migrate deploy --schema /calcom/packages/prisma/schema.prisma
yarn start