Paolo-Fraccaro commited on
Commit
1e855eb
·
1 Parent(s): 6f62668
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -10,7 +10,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
10
  wget \
11
  && apt-get clean && rm -rf /var/lib/apt/lists/*
12
 
13
- RUN echo $(ls /run/secrets/)
14
 
15
 
16
  WORKDIR /code
@@ -61,7 +61,8 @@ RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
61
  RUN conda install -c conda-forge gradio -y
62
 
63
 
64
- RUN git clone https://$(cat /run/secrets/git_token)@github.com/NASA-IMPACT/hls-foundation-os.git
 
65
 
66
  RUN pip3 install fine-tuning-examples/
67
 
 
10
  wget \
11
  && apt-get clean && rm -rf /var/lib/apt/lists/*
12
 
13
+ # RUN echo $(ls /run/secrets/)
14
 
15
 
16
  WORKDIR /code
 
61
  RUN conda install -c conda-forge gradio -y
62
 
63
 
64
+ RUN --mount=type=secret,id=git_token,mode=0444,required=true \
65
+ git clone https://$(cat /run/secrets/git_token)@github.com/NASA-IMPACT/hls-foundation-os.git
66
 
67
  RUN pip3 install fine-tuning-examples/
68