secrets...
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -7,10 +7,11 @@ ENV PYTHONUNBUFFERED 1
|
|
7 |
|
8 |
ENV ENVIRONMENT=dev
|
9 |
|
10 |
-
ENV
|
11 |
-
ENV
|
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
|