Skip to content

Commit

Permalink
fix vol mount
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianhao-Gu committed Sep 12, 2024
1 parent 4708340 commit b97d95b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,6 @@ RUN chown -R spark_user:spark ${JUPYTERHUB_SECRETS_DIR}
RUN echo "spark_user ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers

# Switch back to non-root user
USER spark_user
#USER spark_user

ENTRYPOINT ["/opt/scripts/entrypoint.sh"]
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ services:
- POSTGRES_URL=postgres:5432
- USAGE_MODE=dev # Enabling dev mode grants full access to MinIO and additional privileges for services like Hive, such as the ability to create tables as defined in the scripts/setup.sh.
volumes:
- ./cdr/cdm/jupyter:/cdm_shared_workspace
- ./cdr/cdm/jupyter/cdm_shared_workspace:/cdm_shared_workspace

user-jupyterlab:
build:
Expand Down Expand Up @@ -179,7 +179,7 @@ services:
- POSTGRES_DB=hive
- POSTGRES_URL=postgres:5432
volumes:
- ./cdr/cdm/jupyter/user_shared_workspace:/cdm_shared_workspace/user_shared_workspace
- ./cdr/cdm/jupyter/cdm_shared_workspace/user_shared_workspace:/cdm_shared_workspace/user_shared_workspace

cdm_jupyterhub:
build:
Expand Down

0 comments on commit b97d95b

Please sign in to comment.