ahsanshah commented on issue #4193: Init docker for local development 
environment.
URL: 
https://github.com/apache/incubator-superset/pull/4193#issuecomment-406814520
 
 
   I had to modify the Entrypoint for this to work as advertized
   
   **Original:**
   #!/bin/bash
   set -ex
   
   if [ "$#" -ne 0 ]; then
       exec "$@"
   elif [ "$SUPERSET_ENV" = "local" ]; then
       superset runserver -d
   elif [ "$SUPERSET_ENV" = "production" ]; then
       superset runserver -a 0.0.0.0 -w $((2 * $(getconf _NPROCESSORS_ONLN) + 
1))
   else
       superset --help
   fi
   
   **Change to:**
   
   #!/bin/bash
   set -ex
   
   if [ "$SUPERSET_ENV" = "local" ]; then
       superset runserver -d
   elif [ "$SUPERSET_ENV" = "production" ]; then
       superset runserver -a 0.0.0.0 -w $((2 * $(getconf _NPROCESSORS_ONLN) + 
1))
   else
       superset --help
   fi
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to