mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 05:18:11 +00:00
Create docker-entrypoint.sh
This commit is contained in:
9
apps/edr-payment-api/docker-entrypoint.sh
Normal file
9
apps/edr-payment-api/docker-entrypoint.sh
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
cd /app
|
||||||
|
|
||||||
|
# npm run executes the same package.json scripts as pnpm run (pnpm reinstalls in deploy layout)
|
||||||
|
npm run migration:run
|
||||||
|
|
||||||
|
exec "$@"
|
||||||
Reference in New Issue
Block a user