FREDFRED commited on
Commit
2dddd66
1 Parent(s): c2b7bbf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -47,9 +47,9 @@ RUN --mount=type=secret,id=MONGODB_URL,mode=0444 \
47
 
48
  RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444 \
49
  OPENAI_API_KEY=$(cat /run/secrets/OPENAI_API_KEY) && export OPENAI_API_KEY && echo "${OPENAI_API_KEY}" \
50
- && envsubst < ".env.local.1" > ".env.local" \
 
51
 
52
- RUN cat .env.local
53
 
54
  RUN --mount=type=cache,target=/app/.npm \
55
  npm set cache /app/.npm && \
 
47
 
48
  RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444 \
49
  OPENAI_API_KEY=$(cat /run/secrets/OPENAI_API_KEY) && export OPENAI_API_KEY && echo "${OPENAI_API_KEY}" \
50
+ && envsubst < ".env.local.1" > ".env.local" && rm .env.local.1 && cat .env.local
51
+
52
 
 
53
 
54
  RUN --mount=type=cache,target=/app/.npm \
55
  npm set cache /app/.npm && \