Files
wanderer/rel/docker-entrypoint.sh
Dmitry Popov 4136aaad76 Initial commit
2024-09-18 01:55:30 +04:00

15 lines
176 B
Bash

#!/bin/sh
set -e
if [ "$1" = 'run' ]; then
exec /app/bin/wanderer_app start
elif [ "$1" = 'db' ]; then
exec /app/bin/"$2".sh
else
exec "$@"
fi
exec "$@"