Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -20,6 +20,8 @@ ENV PATH="/home/user/.local/bin:$PATH"
|
|
| 20 |
|
| 21 |
# Install Python dependencies
|
| 22 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
|
|
|
|
| 23 |
|
| 24 |
# Copy application files
|
| 25 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--reload"]
|
|
|
|
| 20 |
|
| 21 |
# Install Python dependencies
|
| 22 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 23 |
+
RUN chown -R user:user /app/temp
|
| 24 |
+
RUN chown -R user:user /app/uploads
|
| 25 |
|
| 26 |
# Copy application files
|
| 27 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--reload"]
|