Spaces:
Runtime error
Runtime error
add Dockerfile
Browse files- Dockerfile +7 -0
- README.md +1 -1
Dockerfile
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.8-slim-buster
|
2 |
+
COPY . /app
|
3 |
+
WORKDIR /app
|
4 |
+
RUN pip install -r requirements.txt
|
5 |
+
EXPOSE 8501
|
6 |
+
ENTRYPOINT ["streamlit","run"]
|
7 |
+
CMD ["app/app.py"]
|
README.md
CHANGED
@@ -3,7 +3,7 @@ title: News Generator
|
|
3 |
emoji: 🦀
|
4 |
colorFrom: pink
|
5 |
colorTo: red
|
6 |
-
sdk:
|
7 |
app_file: app/app.py
|
8 |
pinned: false
|
9 |
---
|
|
|
3 |
emoji: 🦀
|
4 |
colorFrom: pink
|
5 |
colorTo: red
|
6 |
+
sdk: docker
|
7 |
app_file: app/app.py
|
8 |
pinned: false
|
9 |
---
|