Commit
·
1049542
1
Parent(s):
037130f
maybe
Browse files- Dockerfile +10 -12
Dockerfile
CHANGED
|
@@ -45,20 +45,20 @@ ENV HOME=/home/user \
|
|
| 45 |
GRADIO_THEME=huggingface \
|
| 46 |
SYSTEM=spaces
|
| 47 |
|
| 48 |
-
|
| 49 |
|
| 50 |
-
|
| 51 |
|
| 52 |
-
|
| 53 |
|
| 54 |
-
|
| 55 |
|
| 56 |
-
|
| 57 |
|
| 58 |
|
| 59 |
-
RUN --mount=type=secret,id=git_token,mode=0444,required=true \
|
| 60 |
-
|
| 61 |
-
|
| 62 |
|
| 63 |
WORKDIR /home/user
|
| 64 |
|
|
@@ -66,11 +66,9 @@ RUN --mount=type=secret,id=git_token,mode=0444,required=true \
|
|
| 66 |
git clone https://$(cat /run/secrets/git_token)@github.com/NASA-IMPACT/hls-foundation-os.git
|
| 67 |
|
| 68 |
|
| 69 |
-
RUN cd hls-foundation-os
|
| 70 |
-
|
| 71 |
-
RUN echo $(ls)
|
| 72 |
|
| 73 |
-
RUN pip3 install fine-tuning-examples/
|
| 74 |
|
| 75 |
# RUN --mount=type=secret,id=git_token,mode=0444,required=true \
|
| 76 |
# pip3 install git+https://$(cat /run/secrets/git_token)@github.com/NASA-IMPACT/hls-foundation-os.git@mmseg-only
|
|
|
|
| 45 |
GRADIO_THEME=huggingface \
|
| 46 |
SYSTEM=spaces
|
| 47 |
|
| 48 |
+
RUN conda install python=3.8
|
| 49 |
|
| 50 |
+
RUN pip3 install setuptools-rust
|
| 51 |
|
| 52 |
+
RUN conda install pillow -y
|
| 53 |
|
| 54 |
+
RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 55 |
|
| 56 |
+
RUN conda install -c conda-forge gradio -y
|
| 57 |
|
| 58 |
|
| 59 |
+
# RUN --mount=type=secret,id=git_token,mode=0444,required=true \
|
| 60 |
+
# echo $(https://$(cat /run/secrets/git_token)@github.com/NASA-IMPACT/hls-foundation-os.git)
|
| 61 |
+
# # git clone https://$(cat /run/secrets/git_token)@github.com/NASA-IMPACT/hls-foundation-os.git
|
| 62 |
|
| 63 |
WORKDIR /home/user
|
| 64 |
|
|
|
|
| 66 |
git clone https://$(cat /run/secrets/git_token)@github.com/NASA-IMPACT/hls-foundation-os.git
|
| 67 |
|
| 68 |
|
| 69 |
+
RUN cd hls-foundation-os &
|
| 70 |
+
pip3 install fine-tuning-examples/
|
|
|
|
| 71 |
|
|
|
|
| 72 |
|
| 73 |
# RUN --mount=type=secret,id=git_token,mode=0444,required=true \
|
| 74 |
# pip3 install git+https://$(cat /run/secrets/git_token)@github.com/NASA-IMPACT/hls-foundation-os.git@mmseg-only
|