aboutsummaryrefslogblamecommitdiffstats
path: root/docker-entrypoint.sh
blob: 92e25374f2cbe39423850f750973b0ff7d111899 (plain) (tree)
1
2
3
4
5
6
7


                                                     
                                                                                                                 
                                                 
                                                                                                                 
  
#!/usr/bin/env sh

if [ "$SERVER_DEPLOYMENT_TYPE" = "deployment" ]; then
  uvicorn devourer: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 devourer:app --host 0.0.0.0 --port 80 --ssl-certfile /certs/server.cert --ssl-keyfile /certs/server.key
fi