Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -7,6 +7,9 @@ WORKDIR /app
|
|
| 7 |
# Copy the current directory contents into the container at /app
|
| 8 |
COPY . /app
|
| 9 |
|
|
|
|
|
|
|
|
|
|
| 10 |
# Install any needed dependencies specified in requirements.txt
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
|
|
|
| 7 |
# Copy the current directory contents into the container at /app
|
| 8 |
COPY . /app
|
| 9 |
|
| 10 |
+
# Create a writable directory for flagged inputs and give it proper permissions
|
| 11 |
+
RUN mkdir -p /app/flagged && chmod -R 777 /app/flagged
|
| 12 |
+
|
| 13 |
# Install any needed dependencies specified in requirements.txt
|
| 14 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
|