cahya commited on
Commit
5bfe304
·
1 Parent(s): 24c6073

add Dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +7 -0
  2. 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: streamlit
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
  ---