#!/usr/bin/env sh npx medusa db:migrate # Check if PORT is set and not empty, then add it to the command if [ -n "$PORT" ]; then npx medusa "$@" --port "$PORT" else npx medusa "$@" fi