ugaray96 commited on
Commit
06460af
β€’
1 Parent(s): beb3350

Fixes docker and readme to expose app in Huggingface Spaces

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -0
  2. 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
- sdk_version: 1.10.0
8
  pinned: true
9
  ---
10
 
 
4
  colorFrom: blue
5
  colorTo: green
6
  sdk: docker
7
+ app_port: 8501
8
  pinned: true
9
  ---
10