Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -15,6 +15,9 @@ COPY requirements.txt .
|
|
| 15 |
COPY app.py .
|
| 16 |
COPY README.md .
|
| 17 |
|
|
|
|
|
|
|
|
|
|
| 18 |
# Install Python dependencies
|
| 19 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 20 |
|
|
|
|
| 15 |
COPY app.py .
|
| 16 |
COPY README.md .
|
| 17 |
|
| 18 |
+
# Create /data directory
|
| 19 |
+
RUN mkdir -p /data && chmod -R 777 /data
|
| 20 |
+
|
| 21 |
# Install Python dependencies
|
| 22 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 23 |
|