build_docker.sh 404 B

1234567891011
  1. #! /bin/sh
  2. # This script build the JupyterLab image
  3. if [ -d ${PWD}/packages ]; then
  4. echo Create package.json files archive
  5. tar cf /tmp/package_json.tar.gz package.json packages/*/package.json
  6. cp /tmp/package_json.tar.gz ${PWD}
  7. echo Build JupyterLab docker
  8. docker build -f Dockerfile -t jupyterlab-dev ${PWD}
  9. else
  10. echo You need to run this script from the JupyterLab root folder
  11. fi