Files
logbuch/entrypoint.sh
Matthias Giesselmann 7582c64709 Add container build for deployment
Standalone Next output, migration script run on start, storage volume
at /app/storage, port 4700. Database connection is created lazily so
the image builds without a database.
2026-07-31 21:52:38 +02:00

9 lines
111 B
Bash
Executable File

#!/bin/sh
set -e
if [ "$SKIP_MIGRATIONS" != "true" ]; then
node scripts/migrate.mjs
fi
exec node server.js