Skip to content

Commit

Permalink
Copy tutorial to the home directory of the demo docker with JupyterLab.
Browse files Browse the repository at this point in the history
  • Loading branch information
janpfeifer committed Dec 1, 2023
1 parent 3d4177b commit d8f646d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ bazel-c
bazel-out
bazel-mnt
bazel-testlogs
gomlx_xla.tar.gz

# VSCode files
.Trash*
Expand Down
2 changes: 2 additions & 0 deletions docker/jupyterlab/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ WORKDIR ${HOME}
# look at. Also make a copy of the tutorial at the root directory for quick access.
USER ${NB_UID}
COPY --link --chown=${NB_UID}:${NB_GID} . "${HOME}/Projects/gomlx"
COPY --link --chown=${NB_UID}:${NB_GID} "./examples/tutorial/tutorial.ipynb" "${HOME}/"
COPY --link --chown=${NB_UID}:${NB_GID} "./examples/tutorial/*.jpg" "${HOME}/"

# Run basic tests -- only on "Host" since GPU in docker build is not working.
WORKDIR "${HOME}/Projects/gomlx"
Expand Down

0 comments on commit d8f646d

Please sign in to comment.