qnguyen3 commited on
Commit
70d5521
1 Parent(s): 0b773e6
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -29,7 +29,7 @@ COPY .env.local.template .env.local.template
29
  RUN mkdir defaults
30
  ADD defaults /defaults
31
  RUN chmod -R 777 /defaults
32
- RUN --mount=type=secret,id=MONGODB_URL,mode=0444 --mount=type=secret,id=HF_TOKEN,mode=0444 \
33
  MODEL_NAME="${MODEL_NAME:="$(cat /defaults/MODEL_NAME)"}" && export MODEL_NAME \
34
  && MODEL_PARAMS="${MODEL_PARAMS:="$(cat /defaults/MODEL_PARAMS)"}" && export MODEL_PARAMS \
35
  && MODEL_PROMPT_TEMPLATE="${MODEL_PROMPT_TEMPLATE:="$(cat /defaults/MODEL_PROMPT_TEMPLATE)"}" && export MODEL_PROMPT_TEMPLATE \
 
29
  RUN mkdir defaults
30
  ADD defaults /defaults
31
  RUN chmod -R 777 /defaults
32
+ RUN --mount=type=secret,id=MONGODB_URL,mode=0444 --mount=type=secret,id=HF_TOKEN,mode=0444 --mount=type=secret,id=MODEL_URL,mode=0444\
33
  MODEL_NAME="${MODEL_NAME:="$(cat /defaults/MODEL_NAME)"}" && export MODEL_NAME \
34
  && MODEL_PARAMS="${MODEL_PARAMS:="$(cat /defaults/MODEL_PARAMS)"}" && export MODEL_PARAMS \
35
  && MODEL_PROMPT_TEMPLATE="${MODEL_PROMPT_TEMPLATE:="$(cat /defaults/MODEL_PROMPT_TEMPLATE)"}" && export MODEL_PROMPT_TEMPLATE \