Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
fix path error
Browse files Browse the repository at this point in the history
  • Loading branch information
cdmikechen committed Nov 19, 2023
1 parent 99311f7 commit 1076fa4
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@ submarine-workbench/
submarine-workbench-v2/
submarine.iml
target/
venv/
webapps/
website/
.git/
.idea/
.github/
**/.git/
**/.idea/
**/.github/

# Allow files in pysubmarine
!submarine-sdk/pysubmarine/*
!submarine-sdk/pysubmarine/**
# Allow files in pysubmarine
!dev-support/docker-images/*
!dev-support/docker-images/**

# ignore python Distribution / packaging
.Python
**/venv/
**/env/
**/build/
**/develop-eggs/
Expand All @@ -54,4 +54,4 @@ website/
**/.mypy_cache/
**/*.egg-info/
**/.installed.cfg
**/*.egg
**/*.egg
2 changes: 1 addition & 1 deletion dev-support/docker-images/jupyter-gpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ RUN wget --quiet https://repo.continuum.io/miniconda/Miniconda3-py311_${MINICOND

# Install sumbarine python sdk and notebook
RUN mkdir -p submarine/submarine-sdk/pysubmarine
COPY submarine-sdk/pysubmarine/* submarine/submarine-sdk/pysubmarine
COPY submarine-sdk/pysubmarine/ submarine/submarine-sdk/pysubmarine
RUN pip --no-cache-dir install -e submarine/submarine-sdk/pysubmarine[tf,pytorch] && \
# Add DeepFM example into notebook
cp submarine/submarine-sdk/pysubmarine/example/submarine_experiment_sdk.ipynb $HOME && \
Expand Down
2 changes: 1 addition & 1 deletion dev-support/docker-images/jupyter-gpu/start-notebook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ if [[ -n "${NB_PREFIX}" ]]; then
NOTEBOOK_ARGS="--NotebookApp.base_url=${NB_PREFIX} ${NOTEBOOK_ARGS}"
fi

/bin/bash -c "jupyter notebook ${NOTEBOOK_ARGS}"
/bin/bash -c "jupyter lab ${NOTEBOOK_ARGS}"
4 changes: 2 additions & 2 deletions dev-support/docker-images/jupyter/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ RUN wget --quiet https://repo.continuum.io/miniconda/Miniconda3-py311_${MINICOND

# Install sumbarine python sdk and notebook
RUN mkdir -p submarine/submarine-sdk/pysubmarine
COPY submarine-sdk/pysubmarine/* submarine/submarine-sdk/pysubmarine
RUN pip --no-cache-dir install submarine/submarine-sdk/pysubmarine[tf,pytorch] && \
COPY submarine-sdk/pysubmarine/ submarine/submarine-sdk/pysubmarine
RUN pip --no-cache-dir install -e submarine/submarine-sdk/pysubmarine[tf,pytorch] && \
# Add DeepFM example into notebook
cp submarine/submarine-sdk/pysubmarine/example/submarine_experiment_sdk.ipynb $HOME && \
cp -r submarine/submarine-sdk/pysubmarine/example/{data,deepfm_example.ipynb,deepfm.json} $HOME
Expand Down
2 changes: 1 addition & 1 deletion dev-support/docker-images/jupyter/start-notebook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ if [[ -n "${NB_PREFIX}" ]]; then
NOTEBOOK_ARGS="--NotebookApp.base_url=${NB_PREFIX} ${NOTEBOOK_ARGS}"
fi

/bin/bash -c "jupyter notebook ${NOTEBOOK_ARGS}"
/bin/bash -c "jupyter lab ${NOTEBOOK_ARGS}"

0 comments on commit 1076fa4

Please sign in to comment.