Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dockerfile #90

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

andyyPark
Copy link

@andyyPark andyyPark commented Apr 8, 2022

Addresses #88 - it's using tensorflow-gpu as the base image (it doesn't work on arm64 processor at the moment).

To build the docker image manually, run:

docker build -t jax_cosmo .

To execute jax_cosmo in a jupyter notebook within the docker image:

  • Host machine: docker run --rm -it -p 8888:8888 jax_cosmo
  • Inside the container: jupyter notebook --ip 0.0.0.0 --port 8888 --no-browser --allow-root
  • Access the notebook on : localhost:8888

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant