Skip to content

Instantly share code, notes, and snippets.

@nikukyugamer
Last active December 9, 2017 23:13
Show Gist options
  • Save nikukyugamer/9ad6ce63796eceea23c4d4fcb9f134ef to your computer and use it in GitHub Desktop.
Save nikukyugamer/9ad6ce63796eceea23c4d4fcb9f134ef to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment