morss/docker-entry.sh

10 lines
143 B
Bash
Raw Normal View History

#! /bin/sh
2021-11-21 18:56:39 +00:00
echo "$@"
if [ ! -z "$1" ]; then
morss $@
else
2021-11-21 18:56:39 +00:00
gunicorn --bind 0.0.0.0:${PORT:-8000} -w 4 --preload --access-logfile - morss
fi