Improved jupyter container

master
Mark 2023-03-05 10:14:13 -08:00
parent 80feb0690c
commit 41ee2dc5b7
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
2 changed files with 11 additions and 1 deletions

View File

@ -6,7 +6,7 @@ This directory contains build files for a complete jupyter environment. It is ba
- https://github.com/rgriffogoes/scraper-notebook
- https://github.com/sharpTrick/sage-notebook
The images these files produce contain everything you could possibly want in a jupyter notebook. Unfortunately, this also means that they take forever to build.
The images these files produce contain everything you could possibly want in a jupyter notebook. Additional packages can be installed in notebooks with `%%bash` magic.
## Building the Image

View File

@ -13,3 +13,13 @@ services:
# host:container
ports:
- "127.0.0.1:8888:8888"
# Allow GPU access.
# Requires nvidia-containter-toolkit
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]