Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -43,7 +43,7 @@ RUN --mount=type=secret,id=MONGODB_URL,mode=0444 \
|
|
43 |
&& APP_NAME="${APP_NAME:="$(cat /defaults/APP_NAME)"}" && export APP_NAME \
|
44 |
&& MONGODB_URL=$(cat /run/secrets/MONGODB_URL || cat /defaults/MONGODB_URL) && export MONGODB_URL && \
|
45 |
echo "${MONGODB_URL}" && OPENAI_API_KEY=$(cat /defaults/.openai.key) && export OPENAI_API_KEY && echo "${OPENAI_API_KEY}" \
|
46 |
-
envsubst < ".env.local.template" > ".env.local" \
|
47 |
&& rm .env.local.template && cat .env.local
|
48 |
|
49 |
|
|
|
43 |
&& APP_NAME="${APP_NAME:="$(cat /defaults/APP_NAME)"}" && export APP_NAME \
|
44 |
&& MONGODB_URL=$(cat /run/secrets/MONGODB_URL || cat /defaults/MONGODB_URL) && export MONGODB_URL && \
|
45 |
echo "${MONGODB_URL}" && OPENAI_API_KEY=$(cat /defaults/.openai.key) && export OPENAI_API_KEY && echo "${OPENAI_API_KEY}" \
|
46 |
+
&& envsubst < ".env.local.template" > ".env.local" \
|
47 |
&& rm .env.local.template && cat .env.local
|
48 |
|
49 |
|