Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -31,7 +31,7 @@ ADD defaults /defaults
|
|
31 |
RUN chmod -R 777 /defaults
|
32 |
|
33 |
RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444 \
|
34 |
-
|
35 |
|
36 |
|
37 |
|
|
|
31 |
RUN chmod -R 777 /defaults
|
32 |
|
33 |
RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444 \
|
34 |
+
OPENAI_API_KEY=$(cat /run/secrets/OPENAI_API_KEY) && export OPENAI_API_KEY && echo "${OPENAI_API_KEY}"
|
35 |
|
36 |
|
37 |
|