morss/docker-entry.sh

8 lines
150 B
Bash
Raw Normal View History

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