Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -31,8 +31,8 @@ EXPOSE 8501
|
|
31 |
HEALTHCHECK CMD --fail http://localhost:8501/_stcore/health
|
32 |
|
33 |
# Get the secret key and clone it as repo at build time
|
34 |
-
RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true \
|
35 |
-
git clone $(cat /run/secrets/OPENAI_API_KEY)
|
36 |
|
37 |
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
38 |
# CMD [ "streamlit" , "run", "app.py"]
|
|
|
31 |
HEALTHCHECK CMD --fail http://localhost:8501/_stcore/health
|
32 |
|
33 |
# Get the secret key and clone it as repo at build time
|
34 |
+
# RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true \
|
35 |
+
# git clone $(cat /run/secrets/OPENAI_API_KEY)
|
36 |
|
37 |
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
38 |
# CMD [ "streamlit" , "run", "app.py"]
|