corselia
12/25/2016 - 11:22 AM

docker init file, which execute at creation of container

docker init file, which execute at creation of container

#!/bin/bash

/root/.pyenv/shims/superset init
/root/.pyenv/shims/superset runserver -p 80 -a 0.0.0.0

while true ; do
  # exec on foreground when last process
  /bin/bash
done