Skip to content

Instantly share code, notes, and snippets.

@tomotake-koike
Created November 1, 2022 06:34
Show Gist options
  • Select an option

  • Save tomotake-koike/6243d90fde1230f2fd78ae70eab7276c to your computer and use it in GitHub Desktop.

Select an option

Save tomotake-koike/6243d90fde1230f2fd78ae70eab7276c to your computer and use it in GitHub Desktop.
Nvidia docker Jupyter Lab
FROM nvidia/cuda:11.8.0-devel-ubuntu22.04
USER root
COPY ./requirements.txt /tmp
WORKDIR /code
RUN apt-get update && apt-get -y upgrade
RUN apt install -y curl python3 python3-distutils
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py
RUN pip install -r /tmp/requirements.txt
jupyter
jupyterlab
numpy
pandas
matplotlib
scikit-learn
scikit-image
scipy
torch
torchvision
tqdm
albumentations
tensorflow-gpu
Pillow
opencv-python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment