work-sestym/backend/scripts/start-prod.sh
2026-02-28 20:58:17 +01:00

11 lines
119 B
Bash

#!/bin/sh
set -e
npm run migration:run
if [ "${SEED_ON_BOOT}" = "true" ]; then
npm run seed
fi
npm run start:prod