Spaces:
Sleeping
Sleeping
Commit
·
6d9b80c
1
Parent(s):
8a2ad80
Fix secret
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -18,6 +18,6 @@ EXPOSE 8501
|
|
| 18 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 19 |
|
| 20 |
RUN --mount=type=secret,id=MISTRAL_API_KEY,mode=0444,required=true \
|
| 21 |
-
|
| 22 |
|
| 23 |
ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
|
|
|
| 18 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 19 |
|
| 20 |
RUN --mount=type=secret,id=MISTRAL_API_KEY,mode=0444,required=true \
|
| 21 |
+
cat /run/secrets/MISTRAL_API_KEY > /test
|
| 22 |
|
| 23 |
ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|