11 lines
198 B
Bash
Executable File
11 lines
198 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
npx medusa migrations run
|
|
|
|
# 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
|