Paolo-Fraccaro commited on
Commit
23857c0
1 Parent(s): 6e711d0

add rasterio

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -18
Dockerfile CHANGED
@@ -53,24 +53,12 @@ RUN pip3 install setuptools-rust
53
 
54
  RUN conda install pillow -y
55
 
56
- # RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
57
-
58
- # RUN conda install -c pytorch pytorch==1.7.1 torchvision==0.8.2
59
- # RUN pip install torchvision-cpu==0.8.2
60
  RUN pip3 install torch==1.11.0+cu115 torchvision==0.12.0+cu115 --extra-index-url https://download.pytorch.org/whl/cu115
61
 
62
- # WORKDIR /home/user
63
-
64
- # RUN git clone https://github.com/open-mmlab/mim.git
65
-
66
  RUN pip3 install openmim
67
 
68
  RUN conda install -c conda-forge gradio -y
69
 
70
-
71
- # RUN --mount=type=secret,id=git_token,mode=0444,required=true \
72
- # echo $(https://$(cat /run/secrets/git_token)@github.com/NASA-IMPACT/hls-foundation-os.git)
73
- # # git clone https://$(cat /run/secrets/git_token)@github.com/NASA-IMPACT/hls-foundation-os.git
74
 
75
  WORKDIR /home/user
76
 
@@ -82,14 +70,9 @@ WORKDIR hls-foundation-os
82
 
83
  RUN pip3 install -e .
84
 
85
-
86
- # RUN --mount=type=secret,id=git_token,mode=0444,required=true \
87
- # pip3 install git+https://$(cat /run/secrets/git_token)@github.com/NASA-IMPACT/hls-foundation-os.git@mmseg-only
88
-
89
- # RUN mim install mmcv-full==1.5.0
90
  RUN mim install mmcv-full==1.6.2 -f https://download.openmmlab.com/mmcv/dist/11.5/1.11.0/index.html
91
 
92
-
93
  # Set the working directory to the user's home directory
94
  WORKDIR $HOME/app
95
 
 
53
 
54
  RUN conda install pillow -y
55
 
 
 
 
 
56
  RUN pip3 install torch==1.11.0+cu115 torchvision==0.12.0+cu115 --extra-index-url https://download.pytorch.org/whl/cu115
57
 
 
 
 
 
58
  RUN pip3 install openmim
59
 
60
  RUN conda install -c conda-forge gradio -y
61
 
 
 
 
 
62
 
63
  WORKDIR /home/user
64
 
 
70
 
71
  RUN pip3 install -e .
72
 
 
 
 
 
 
73
  RUN mim install mmcv-full==1.6.2 -f https://download.openmmlab.com/mmcv/dist/11.5/1.11.0/index.html
74
 
75
+ RUN pip3 install rasterio
76
  # Set the working directory to the user's home directory
77
  WORKDIR $HOME/app
78