JPBianchi commited on
Commit
f6d989a
1 Parent(s): 439aec6

secrets...

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -7,10 +7,11 @@ ENV PYTHONUNBUFFERED 1
7
 
8
  ENV ENVIRONMENT=dev
9
 
10
- ENV FINRAG_WEAVIATE_API_KEY=$(cat /run/secrets/FINRAG_WEAVIATE_API_KEY)
11
- ENV FINRAG_WEAVIATE_ENDPOINT=$(cat /run/secrets/FINRAG_WEAVIATE_ENDPOINT
12
  ENV LLAMA_PARSE_API_KEY=$(cat /run/secrets/LLAMA_PARSE_API_KEY)
13
  ENV OPENAI_API_KEY=$(cat /run/secrets/OPENAI_API_KEY)
 
14
 
15
  COPY ./app /app
16
  WORKDIR /app
 
7
 
8
  ENV ENVIRONMENT=dev
9
 
10
+ ENV $(cat /run/secrets/FINRAG_WEAVIATE_API_KEY)
11
+ ENV $(cat /run/secrets/FINRAG_WEAVIATE_ENDPOINT)
12
  ENV LLAMA_PARSE_API_KEY=$(cat /run/secrets/LLAMA_PARSE_API_KEY)
13
  ENV OPENAI_API_KEY=$(cat /run/secrets/OPENAI_API_KEY)
14
+ # ^ https://huggingface.co/docs/hub/en/spaces-sdks-docker#secrets
15
 
16
  COPY ./app /app
17
  WORKDIR /app