Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -12,8 +12,9 @@ WORKDIR /app
|
|
| 12 |
COPY requirements.txt /app/
|
| 13 |
|
| 14 |
# Install dependencies and the SpaCy model in a single layer to optimize image size
|
| 15 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 16 |
-
|
|
|
|
| 17 |
|
| 18 |
# Create necessary directories with appropriate permissions
|
| 19 |
RUN mkdir -p /tmp/flask_sessions /app/flask_sessions /app/uploads && \
|
|
|
|
| 12 |
COPY requirements.txt /app/
|
| 13 |
|
| 14 |
# Install dependencies and the SpaCy model in a single layer to optimize image size
|
| 15 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 16 |
+
#&& \
|
| 17 |
+
#python -m spacy download en_core_web_sm
|
| 18 |
|
| 19 |
# Create necessary directories with appropriate permissions
|
| 20 |
RUN mkdir -p /tmp/flask_sessions /app/flask_sessions /app/uploads && \
|