dockerfile/examples/standardnotes/official-src/server-main/packages/api-gateway/docker/entrypoint.sh

18 lines
210 B
Bash
Raw Normal View History

2024-03-15 14:52:38 +08:00
#!/bin/sh
set -e
COMMAND=$1 && shift 1
case "$COMMAND" in
'start-web' )
echo "Starting Web..."
exec node docker/entrypoint-server.js
;;
* )
echo "Unknown command"
;;
esac
exec "$@"