7582c64709
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.
9 lines
111 B
Bash
Executable File
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
|