Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure ENTRYPOINT is an absolute path
Unlike other parts of the generated Dockerfile, the start script is evaluated at run time, rather than at build time. Currently, we assume that the current working directory is the same at runtime as build time for the start script. This doesn't hold true always, and particularly not in JupyterHub environments where ${HOME} is often overlaid with a persistent directory. We change this to always refer to the full path, using the ${REPO_DIR} environment variable. This lets people building JupyterHub images to set REPO_DIR to something like /srv/repo (like hubploy does), and still have a working start script.
- Loading branch information