mutaibamohsin845 commited on
Commit
cf36565
·
verified ·
1 Parent(s): a4e50cf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -5,9 +5,12 @@ WORKDIR /app
5
  COPY requirements.txt .
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
8
- # Download spaCy language model
9
  RUN python -m spacy download en_core_web_sm
10
 
11
  COPY . .
12
 
 
 
 
13
  CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]
 
5
  COPY requirements.txt .
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
8
+ # Download spaCy model
9
  RUN python -m spacy download en_core_web_sm
10
 
11
  COPY . .
12
 
13
+ # Ensure /tmp directory exists for file storage
14
+ RUN mkdir -p /tmp
15
+
16
  CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]