euler314 commited on
Commit
65be7bc
·
verified ·
1 Parent(s): 428bf45

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -9,14 +9,13 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
9
 
10
  RUN mkdir -p $STREAMLIT_HOME
11
 
12
- # --- Install dependencies ---
13
- RUN pip install --no-cache-dir streamlit==1.45.1
14
 
15
- # --- Copy app code ---
16
  COPY app.py /app/app.py
17
  WORKDIR /app
18
 
19
  # --- Run the app ---
20
- # Hugging Face Spaces expects port 7860 for Docker SDK
21
  EXPOSE 7860
22
  CMD ["streamlit", "run", "app.py"]
 
9
 
10
  RUN mkdir -p $STREAMLIT_HOME
11
 
12
+ # --- Install deps ---
13
+ RUN pip install --no-cache-dir streamlit==1.45.1 pillow
14
 
15
+ # --- Copy code ---
16
  COPY app.py /app/app.py
17
  WORKDIR /app
18
 
19
  # --- Run the app ---
 
20
  EXPOSE 7860
21
  CMD ["streamlit", "run", "app.py"]