somehumanperson1 commited on
Commit
2d669e8
1 Parent(s): 311955c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -36,6 +36,7 @@ RUN --mount=type=secret,id=MONGODB_URL,mode=0444 \
36
  && APP_COLOR="${APP_COLOR:="$(cat /defaults/APP_COLOR)"}" && export APP_COLOR \
37
  && APP_NAME="${APP_NAME:="$(cat /defaults/APP_NAME)"}" && export APP_NAME \
38
  && MONGODB_URL=$(cat /run/secrets/MONGODB_URL > /dev/null | grep '^' || cat /defaults/MONGODB_URL) && export MONGODB_URL && \
 
39
  echo "${MONGODB_URL}" && \
40
  envsubst < ".env.local.template" > ".env.local" \
41
  && rm .env.local.template
@@ -79,6 +80,7 @@ RUN --mount=type=secret,id=MONGODB_URL,mode=0444 \
79
  && APP_COLOR="${APP_COLOR:="$(cat /defaults/APP_COLOR)"}" && export APP_COLOR \
80
  && APP_NAME="${APP_NAME:="$(cat /defaults/APP_NAME)"}" && export APP_NAME \
81
  && MONGODB_URL=$(cat /run/secrets/MONGODB_URL > /dev/null | grep '^' || cat /defaults/MONGODB_URL) && export MONGODB_URL && \
 
82
  envsubst < "entrypoint.sh.template" > "entrypoint.sh" \
83
  && rm entrypoint.sh.template
84
 
 
36
  && APP_COLOR="${APP_COLOR:="$(cat /defaults/APP_COLOR)"}" && export APP_COLOR \
37
  && APP_NAME="${APP_NAME:="$(cat /defaults/APP_NAME)"}" && export APP_NAME \
38
  && MONGODB_URL=$(cat /run/secrets/MONGODB_URL > /dev/null | grep '^' || cat /defaults/MONGODB_URL) && export MONGODB_URL && \
39
+ && HF_ACCESS_TOKEN=$(cat /run/secrets/TOKEN_SEC) && export HF_ACCESS_TOKEN && \
40
  echo "${MONGODB_URL}" && \
41
  envsubst < ".env.local.template" > ".env.local" \
42
  && rm .env.local.template
 
80
  && APP_COLOR="${APP_COLOR:="$(cat /defaults/APP_COLOR)"}" && export APP_COLOR \
81
  && APP_NAME="${APP_NAME:="$(cat /defaults/APP_NAME)"}" && export APP_NAME \
82
  && MONGODB_URL=$(cat /run/secrets/MONGODB_URL > /dev/null | grep '^' || cat /defaults/MONGODB_URL) && export MONGODB_URL && \
83
+ && HF_ACCESS_TOKEN=$(cat /run/secrets/TOKEN_SEC) && export HF_ACCESS_TOKEN && \
84
  envsubst < "entrypoint.sh.template" > "entrypoint.sh" \
85
  && rm entrypoint.sh.template
86