Spaces:
Sleeping
Sleeping
Create Dockerfile
Browse files- Dockerfile +8 -0
Dockerfile
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#pull the image from dockerhub
|
| 2 |
+
FROM parthardas/multidocument-rag:latest
|
| 3 |
+
|
| 4 |
+
#expose the port that Hugging Face Spaces allows by default
|
| 5 |
+
EXPOSE 7860
|
| 6 |
+
|
| 7 |
+
# define command that will override the docker image's Dockerfile CMD command
|
| 8 |
+
CMD ["streamlit", "run", "streamlit-rag-app.py", "--server.port=7860", "--server.address=0.0.0.0"]
|