Spaces:
Running
Running
rbcurzon
commited on
Commit
·
6cc814a
1
Parent(s):
39ef0ae
refactor: expose the gemini api key
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -37,6 +37,6 @@ USER root
|
|
37 |
RUN git config --global --add safe.directory /home/user/app
|
38 |
|
39 |
# If you need secrets, handle them properly
|
40 |
-
|
41 |
|
42 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "4"]
|
|
|
37 |
RUN git config --global --add safe.directory /home/user/app
|
38 |
|
39 |
# If you need secrets, handle them properly
|
40 |
+
RUN --mount=type=secret,id=GENAI_API_KEY,mode=0444,required=true
|
41 |
|
42 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "4"]
|