morss/docker-entry.sh

8 lines
123 B
Bash

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