#!/bin/sh
set -e
if [ "${NODEDC_AGENT_GATEWAY_SKIP_MIGRATIONS:-0}" != "1" ]; then
npm run migrate:dist
fi
exec "$@"