morss/docker-entry.sh

10 lines
143 B
Bash

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