Spaces:
Runtime error
Runtime error
Commit
·
8c30f0c
1
Parent(s):
646f0fc
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -5,6 +5,9 @@ FROM python:3.9
|
|
| 5 |
# Set the working directory
|
| 6 |
WORKDIR /app
|
| 7 |
|
|
|
|
|
|
|
|
|
|
| 8 |
# Copy the requirements file to the working directory
|
| 9 |
COPY requirements.txt .
|
| 10 |
|
|
|
|
| 5 |
# Set the working directory
|
| 6 |
WORKDIR /app
|
| 7 |
|
| 8 |
+
# Create a writeable cache directory
|
| 9 |
+
RUN mkdir -p /app/cache && chmod 777 /app/cache
|
| 10 |
+
|
| 11 |
# Copy the requirements file to the working directory
|
| 12 |
COPY requirements.txt .
|
| 13 |
|