-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile.pytorch
21 lines (15 loc) · 1 KB
/
Dockerfile.pytorch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM quay.io/jmcclain/raster-vision-pytorch:Sun_May_1_05_01_12_UTC_2022
RUN conda install -y notebook
RUN pip install fastkml==0.11 geopandas==0.8.2 jsonschema parsec==3.7 lxml==4.6.2 descartes==1.1.0 Rtree==0.9.7
COPY ./src/hyperspectral/hyperspectral/ /opt/src/hyperspectral/
COPY ./src/hyperspectral/notebooks/ /opt/src/notebooks/
CMD jupyter notebook --ip 0.0.0.0 --port 8888 --allow-root --no-browser --notebook-dir /opt/src/notebooks
# docker build -f Dockerfile.pytorch -t jupyter .
# docker run -it --rm --runtime=nvidia -p 8888:8888 jupyter
# Note: The image produced by this file is NOT meant for deployment or
# remote use. The purpose of this file is to codify repeatable setup
# that is known to support the notebooks in this repository. It is
# meant to be built and used locally. Inclusion of files in the data
# directory is intentional. Please do not attempt to use the image
# produced by this file for deployment. Please do not upload the
# image produced by this file to DockerHub, Quay, ECR, &c.