Skip to content

Instantly share code, notes, and snippets.

@diegoquintanav
Last active April 5, 2022 09:16
Show Gist options
  • Save diegoquintanav/e828a4a7f3ba538d7467e7836dd6f654 to your computer and use it in GitHub Desktop.
Save diegoquintanav/e828a4a7f3ba538d7467e7836dd6f654 to your computer and use it in GitHub Desktop.
docker-compose for graph-tool
version: "3"
services:
graphtool:
image: graphtool-custom:latest
build:
context: .
# image: tiagopeixoto/graph-tool
# environment:
# - JUPYTER_TOKEN='dontuseinprod'
working_dir: /home/user
volumes:
- ./hSBM_Topicmodel:/home/user
ports:
- 8888:8888
- 6006:6006
- 8889:8889
networks:
- graphtool
user: user
command: jupyter lab --ip 0.0.0.0 --NotebookApp.token='' --NotebookApp.password='' --no-browser
networks:
graphtool:
driver: bridge
FROM tiagopeixoto/graph-tool
USER root
RUN pacman -S python-pip --noconfirm
RUN pip install jupyterlab
USER user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment