Files
ezbookkeeping/docker/docker-entrypoint.sh
T
2020-12-04 02:26:54 +08:00

16 lines
243 B
Bash
Executable File

#!/bin/sh
set -e;
conf_path_param="";
if [ "${LAB_CONF_PATH}" != "" ]; then
conf_path_param="--conf-path=${LAB_CONF_PATH}";
fi
if [ $# -gt 0 ]; then
exec "$@"
else
exec /usr/local/bin/labapp/lab server run ${conf_path_param};
fi