charreaubell commited on
Commit
60e58b9
1 Parent(s): 5845b9e

Fixed dockerfile for correct run with bash

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -10,8 +10,7 @@ COPY ./requirements.txt /code/requirements.txt
10
  RUN pip install --no-cache-dir --upgrade pip
11
 
12
  RUN --mount=type=secret,id=PIPLOC,mode=0444,required=true \
13
- PIPLOC=$(cat /run/secrets/PIPLOC) \
14
- pip install --no-cache-dir ${PIPLOC}
15
 
16
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
17
 
 
10
  RUN pip install --no-cache-dir --upgrade pip
11
 
12
  RUN --mount=type=secret,id=PIPLOC,mode=0444,required=true \
13
+ bash -c "PIPLOC=$(cat /run/secrets/PIPLOC); pip install --no-cache-dir \${PIPLOC}"
 
14
 
15
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
16