Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +0 -4
Dockerfile
CHANGED
@@ -46,10 +46,6 @@ RUN --mount=type=secret,id=MONGODB_URL,mode=0444 \
|
|
46 |
envsubst < ".env.local.template" > ".env.local" \
|
47 |
&& rm .env.local.template && cat .env.local
|
48 |
|
49 |
-
RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444 \
|
50 |
-
OPENAI_API_KEY=$(cat /run/secrets/OPENAI_API_KEY) && export OPENAI_API_KEY && echo "${OPENAI_API_KEY}" \
|
51 |
-
&& envsubst < ".env.local.1" > ".env.local" && rm .env.local.1 && cat .env.local
|
52 |
-
|
53 |
|
54 |
|
55 |
RUN --mount=type=cache,target=/app/.npm \
|
|
|
46 |
envsubst < ".env.local.template" > ".env.local" \
|
47 |
&& rm .env.local.template && cat .env.local
|
48 |
|
|
|
|
|
|
|
|
|
49 |
|
50 |
|
51 |
RUN --mount=type=cache,target=/app/.npm \
|