morss/docker-entry.sh

8 lines
132 B
Bash

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