nsarrazin HF staff commited on
Commit
42d9bcf
1 Parent(s): a040483

comment out comment

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -22,10 +22,10 @@ RUN --mount=type=secret,id=MODEL_NAME,mode=0444,required=true \
22
  --mount=type=secret,id=PREPROMPT,mode=0444,required=true \
23
  --mount=type=secret,id=MODEL_TEMPERATURE,mode=0444,required=true \
24
  MODEL_NAME=$(cat /run/secrets/MODEL_NAME) \
25
- && export MODEL_NAME \
26
  && PREPROMPT=$(cat /run/secrets/PREPROMPT) \
27
- && export PREPROMPT \
28
  && MODEL_TEMPERATURE=$(cat /run/secrets/MODEL_TEMPERATURE) \
 
 
29
  && export MODEL_TEMPERATURE \
30
  && envsubst < ".template.env.local" > ".env.local"
31
 
@@ -66,7 +66,7 @@ RUN chown -R 1000:1000 /app
66
 
67
  RUN useradd -m -u 1000 user
68
 
69
- Switch to the "user" user
70
  USER user
71
 
72
  ENV HOME=/home/user \
 
22
  --mount=type=secret,id=PREPROMPT,mode=0444,required=true \
23
  --mount=type=secret,id=MODEL_TEMPERATURE,mode=0444,required=true \
24
  MODEL_NAME=$(cat /run/secrets/MODEL_NAME) \
 
25
  && PREPROMPT=$(cat /run/secrets/PREPROMPT) \
 
26
  && MODEL_TEMPERATURE=$(cat /run/secrets/MODEL_TEMPERATURE) \
27
+ && export MODEL_NAME \
28
+ && export PREPROMPT \
29
  && export MODEL_TEMPERATURE \
30
  && envsubst < ".template.env.local" > ".env.local"
31
 
 
66
 
67
  RUN useradd -m -u 1000 user
68
 
69
+ # Switch to the "user" user
70
  USER user
71
 
72
  ENV HOME=/home/user \