1
0
Fork 0
mirror of synced 2024-06-28 11:00:55 +12:00

Bail out if server startup fails.

This commit is contained in:
Sam Rose 2024-02-16 15:13:26 +00:00
parent 89557d5407
commit 30abf188a3
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -38,7 +38,7 @@ COPY packages/worker/pm2.config.js packages/worker/pm2.config.js
COPY packages/string-templates packages/string-templates
FROM budicouch as runner
FROM budibase/couchdb as runner
ARG TARGETARCH
ENV TARGETARCH $TARGETARCH
#TARGETBUILD can be set to single (for single docker image) or aas (for azure app service)

View file

@ -26,6 +26,7 @@ async function start() {
start().catch(err => {
console.error(`Failed server startup - ${err.message}`)
throw err
})
export function getServer() {