Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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
|
| 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"]
|