Paolo-Fraccaro commited on
Commit
1f02c69
·
1 Parent(s): 3b5193c

add secret

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -58,6 +58,7 @@ RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
58
 
59
  RUN conda install -c conda-forge gradio -y
60
 
 
61
  RUN git clone git+https://$(cat /run/secrets/git_token)@github.com/NASA-IMPACT/hls-foundation-os.git
62
 
63
  RUN pip3 install fine-tuning-examples/
 
58
 
59
  RUN conda install -c conda-forge gradio -y
60
 
61
+ RUN --mount=type=secret,id=git_token,mode=0444,required=true
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/