Build render (#2188)

* Build for arm and amd

* Add scripts

* Add scripts
This commit is contained in:
Charles Bochet
2023-10-22 23:47:43 +02:00
committed by GitHub
parent e67b2d23ae
commit 42af74eb46
15 changed files with 107 additions and 53 deletions

View File

@ -1,2 +0,0 @@
#!/bin/sh
export PG_DATABASE_URL=postgres://twenty:twenty@$PG_DATABASE_HOST:$PG_DATABASE_PORT/default

5
server/scripts/render-run.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
export PG_DATABASE_URL=postgres://twenty:twenty@$PG_DATABASE_HOST:$PG_DATABASE_PORT/default
yarn prisma:migrate
yarn database:setup
node dist/src/main