ehristoforu commited on
Commit
5d31eb6
1 Parent(s): efaa40c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -39,22 +39,22 @@ RUN --mount=type=secret,id=ENDPOINT,mode=0444 \
39
  ENDPOINT=$(cat /run/secrets/ENDPOINT) && export ENDPOINT && echo "${ENDPOINT}" >> "/defaults/.endpoint" && cat /defaults/.endpoint
40
 
41
  RUN --mount=type=secret,id=GEMINI_API_KEY,mode=0444 \
42
- ENDPOINT=$(cat /run/secrets/GEMINI_API_KEY) && export GEMINI_API_KEY && echo "${GEMINI_API_KEY}" >> "/defaults/.gemini.key" && cat /defaults/.gemini.key
43
 
44
  RUN --mount=type=secret,id=FREEGPT_API_KEY,mode=0444 \
45
- ENDPOINT=$(cat /run/secrets/FREEGPT_API_KEY) && export FREEGPT_API_KEY && echo "${FREEGPT_API_KEY}" >> "/defaults/.freegpt.key" && cat /defaults/.freegpt.key
46
 
47
  RUN --mount=type=secret,id=GROQ_API_KEY,mode=0444 \
48
- ENDPOINT=$(cat /run/secrets/GROQ_API_KEY) && export GROQ_API_KEY && echo "${GROQ_API_KEY}" >> "/defaults/.groq.key" && cat /defaults/.groq.key
49
 
50
  RUN --mount=type=secret,id=VISIONCRAFT_API_KEY,mode=0444 \
51
- ENDPOINT=$(cat /run/secrets/VISIONCRAFT_API_KEY) && export VISIONCRAFT_API_KEY && echo "${VISIONCRAFT_API_KEY}" >> "/defaults/.visioncraft.key" && cat /defaults/.visioncraft.key
52
 
53
  RUN --mount=type=secret,id=OPENID_CLIENT_ID,mode=0444 \
54
- ENDPOINT=$(cat /run/secrets/OPENID_CLIENT_ID) && export OPENID_CLIENT_ID && echo "${OPENID_CLIENT_ID}" >> "/defaults/.openid.client_id" && cat /defaults/.openid.client_id
55
 
56
  RUN --mount=type=secret,id=OPENID_CLIENT_SECRET,mode=0444 \
57
- ENDPOINT=$(cat /run/secrets/OPENID_CLIENT_SECRET) && export OPENID_CLIENT_SECRET && echo "${OPENID_CLIENT_SECRET}" >> "/defaults/.openid.client_secret" && cat /defaults/.openid.client_secret
58
 
59
 
60
  RUN --mount=type=secret,id=MONGODB_URL,mode=0444 \
 
39
  ENDPOINT=$(cat /run/secrets/ENDPOINT) && export ENDPOINT && echo "${ENDPOINT}" >> "/defaults/.endpoint" && cat /defaults/.endpoint
40
 
41
  RUN --mount=type=secret,id=GEMINI_API_KEY,mode=0444 \
42
+ GEMINI_API_KEY=$(cat /run/secrets/GEMINI_API_KEY) && export GEMINI_API_KEY && echo "${GEMINI_API_KEY}" >> "/defaults/.gemini.key" && cat /defaults/.gemini.key
43
 
44
  RUN --mount=type=secret,id=FREEGPT_API_KEY,mode=0444 \
45
+ FREEGPT_API_KEY=$(cat /run/secrets/FREEGPT_API_KEY) && export FREEGPT_API_KEY && echo "${FREEGPT_API_KEY}" >> "/defaults/.freegpt.key" && cat /defaults/.freegpt.key
46
 
47
  RUN --mount=type=secret,id=GROQ_API_KEY,mode=0444 \
48
+ GROQ_API_KEY=$(cat /run/secrets/GROQ_API_KEY) && export GROQ_API_KEY && echo "${GROQ_API_KEY}" >> "/defaults/.groq.key" && cat /defaults/.groq.key
49
 
50
  RUN --mount=type=secret,id=VISIONCRAFT_API_KEY,mode=0444 \
51
+ VISIONCRAFT_API_KEY=$(cat /run/secrets/VISIONCRAFT_API_KEY) && export VISIONCRAFT_API_KEY && echo "${VISIONCRAFT_API_KEY}" >> "/defaults/.visioncraft.key" && cat /defaults/.visioncraft.key
52
 
53
  RUN --mount=type=secret,id=OPENID_CLIENT_ID,mode=0444 \
54
+ OPENID_CLIENT_ID=$(cat /run/secrets/OPENID_CLIENT_ID) && export OPENID_CLIENT_ID && echo "${OPENID_CLIENT_ID}" >> "/defaults/.openid.client_id" && cat /defaults/.openid.client_id
55
 
56
  RUN --mount=type=secret,id=OPENID_CLIENT_SECRET,mode=0444 \
57
+ OPENID_CLIENT_SECRET=$(cat /run/secrets/OPENID_CLIENT_SECRET) && export OPENID_CLIENT_SECRET && echo "${OPENID_CLIENT_SECRET}" >> "/defaults/.openid.client_secret" && cat /defaults/.openid.client_secret
58
 
59
 
60
  RUN --mount=type=secret,id=MONGODB_URL,mode=0444 \