blob: 58d63ce684ec72d2b989465af299c80fd7591e72 (
plain) (
tree)
|
|
#!/usr/bin/env sh
if [ "$SERVER_DEPLOYMENT_TYPE" = "deployment" ]; then
uvicorn main:app --host 0.0.0.0 --port 80 --ssl-certfile /certs/server.cert --ssl-keyfile /certs/server.key
elif [ "$SERVER_DEPLOYMENT_TYPE" = "test" ]; then
uvicorn main:app --host 0.0.0.0 --port 80 --ssl-certfile /certs/server.cert --ssl-keyfile /certs/server.key
fi
|