Commit
·
d94c442
1
Parent(s):
8efce7c
change order
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -15,6 +15,8 @@ WORKDIR /code
|
|
15 |
|
16 |
COPY ./requirements.txt /code/requirements.txt
|
17 |
|
|
|
|
|
18 |
# add conda
|
19 |
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -P /code/
|
20 |
RUN chmod 777 /code/Miniconda3-latest-Linux-x86_64.sh
|
@@ -58,7 +60,7 @@ RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
58 |
|
59 |
RUN conda install -c conda-forge gradio -y
|
60 |
|
61 |
-
|
62 |
RUN git clone git+https://$(cat /run/secrets/git_token)@github.com/NASA-IMPACT/hls-foundation-os.git
|
63 |
|
64 |
RUN pip3 install fine-tuning-examples/
|
|
|
15 |
|
16 |
COPY ./requirements.txt /code/requirements.txt
|
17 |
|
18 |
+
RUN --mount=type=secret,id=git_token,mode=0444,required=true
|
19 |
+
|
20 |
# add conda
|
21 |
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -P /code/
|
22 |
RUN chmod 777 /code/Miniconda3-latest-Linux-x86_64.sh
|
|
|
60 |
|
61 |
RUN conda install -c conda-forge gradio -y
|
62 |
|
63 |
+
|
64 |
RUN git clone git+https://$(cat /run/secrets/git_token)@github.com/NASA-IMPACT/hls-foundation-os.git
|
65 |
|
66 |
RUN pip3 install fine-tuning-examples/
|