fix: Make Docker build correctly
Some checks failed
Build and push image to DockerHub / build (push) Has been cancelled
Some checks failed
Build and push image to DockerHub / build (push) Has been cancelled
This commit is contained in:
parent
f7955a6aad
commit
fce4577a26
5 changed files with 9 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -2,3 +2,6 @@
|
||||||
|
|
||||||
# .env file
|
# .env file
|
||||||
.env
|
.env
|
||||||
|
|
||||||
|
# Kubernetes secrets config
|
||||||
|
kube.yaml
|
||||||
|
|
1
.tool-versions
Normal file
1
.tool-versions
Normal file
|
@ -0,0 +1 @@
|
||||||
|
nodejs 14.15.4
|
|
@ -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 --from=builder calcom/packages/prisma/schema.prisma ./prisma/schema.prisma
|
||||||
COPY scripts scripts
|
COPY scripts scripts
|
||||||
|
|
||||||
|
COPY .env .env
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD ["/calcom/scripts/start.sh"]
|
CMD ["/calcom/scripts/start.sh"]
|
||||||
|
|
2
calcom
2
calcom
|
@ -1 +1 @@
|
||||||
Subproject commit 9440df44454dd7e1ce71adfe74fe728b3809aeeb
|
Subproject commit f83ed78cf692d977d08fcd186732ac64e1351b34
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -x
|
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
|
npx prisma migrate deploy --schema /calcom/packages/prisma/schema.prisma
|
||||||
yarn start
|
yarn start
|
||||||
|
|
Loading…
Reference in a new issue