Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +0 -3
Dockerfile
CHANGED
@@ -27,10 +27,7 @@ RUN python -c "from sentence_transformers import SentenceTransformer; SentenceTr
|
|
27 |
|
28 |
# Download the model at build time (preload it into cache)
|
29 |
RUN python3 -c "from transformers import pipeline; pipeline('question-answering', model='deepset/xlm-roberta-base-squad2')"
|
30 |
-
|
31 |
-
|
32 |
EXPOSE 8501
|
33 |
-
|
34 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
35 |
|
36 |
ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0","--server.enableCORS=false"]
|
|
|
27 |
|
28 |
# Download the model at build time (preload it into cache)
|
29 |
RUN python3 -c "from transformers import pipeline; pipeline('question-answering', model='deepset/xlm-roberta-base-squad2')"
|
|
|
|
|
30 |
EXPOSE 8501
|
|
|
31 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
32 |
|
33 |
ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0","--server.enableCORS=false"]
|