#!/bin/sh set -e if [ "${RUN_MIGRATIONS:-true}" = "true" ]; then echo "running migrations..." node /app/scripts/migrate.mjs else echo "skipping migrations (RUN_MIGRATIONS=$RUN_MIGRATIONS)" fi node /app/scripts/seed.mjs exec node /app/server.js