Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -4
Dockerfile
CHANGED
@@ -16,10 +16,7 @@ RUN --mount=type=secret,id=TOGETHER_API_KEY,mode=0444,required=true \
|
|
16 |
|
17 |
# Read the secrets from the temporary file and set them as environment variables
|
18 |
RUN set -a && \
|
19 |
-
source /build_secrets
|
20 |
-
echo "export OPENAI_API_KEYS=${TOGETHER_API_KEY};${GROQ_API_KEY}" >> /etc/profile.d/secrets.sh && \
|
21 |
-
echo "export REMOTE_DB_URI=${REMOTE_DB_URI}" >> /etc/profile.d/secrets.sh && \
|
22 |
-
rm /build_secrets
|
23 |
|
24 |
# Ensure the environment variables are set at runtime
|
25 |
ENV OPENAI_API_KEYS="${TOGETHER_API_KEY};${GROQ_API_KEY}"
|
|
|
16 |
|
17 |
# Read the secrets from the temporary file and set them as environment variables
|
18 |
RUN set -a && \
|
19 |
+
source /build_secrets
|
|
|
|
|
|
|
20 |
|
21 |
# Ensure the environment variables are set at runtime
|
22 |
ENV OPENAI_API_KEYS="${TOGETHER_API_KEY};${GROQ_API_KEY}"
|