Spaces:
Runtime error
Runtime error
Fixes docker and readme to expose app in Huggingface Spaces
Browse files- Dockerfile +2 -0
- README.md +1 -1
Dockerfile
CHANGED
|
@@ -4,3 +4,5 @@ WORKDIR /app
|
|
| 4 |
RUN apt-get update && xargs -r -a packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
|
| 5 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
| 6 |
RUN pip3 install --no-cache-dir streamlit==1.10.0
|
|
|
|
|
|
|
|
|
| 4 |
RUN apt-get update && xargs -r -a packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
|
| 5 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
| 6 |
RUN pip3 install --no-cache-dir streamlit==1.10.0
|
| 7 |
+
EXPOSE 8501
|
| 8 |
+
CMD streamlit run app.py
|
README.md
CHANGED
|
@@ -4,7 +4,7 @@ emoji: 🧠🔎
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: green
|
| 6 |
sdk: docker
|
| 7 |
-
|
| 8 |
pinned: true
|
| 9 |
---
|
| 10 |
|
|
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: green
|
| 6 |
sdk: docker
|
| 7 |
+
app_port: 8501
|
| 8 |
pinned: true
|
| 9 |
---
|
| 10 |
|