Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -13,6 +13,9 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 13 |
# Copy the entire project directory
|
| 14 |
COPY . .
|
| 15 |
|
|
|
|
|
|
|
|
|
|
| 16 |
# Expose the port Hugging Face Spaces expects
|
| 17 |
EXPOSE 7860
|
| 18 |
|
|
|
|
| 13 |
# Copy the entire project directory
|
| 14 |
COPY . .
|
| 15 |
|
| 16 |
+
# Create tmp directory with write permissions
|
| 17 |
+
RUN mkdir -p /app/tmp && chmod 777 /app/tmp
|
| 18 |
+
|
| 19 |
# Expose the port Hugging Face Spaces expects
|
| 20 |
EXPOSE 7860
|
| 21 |
|