Spaces:
Sleeping
Sleeping
{{Your Name}}
commited on
Commit
·
43b6466
1
Parent(s):
4e81420
Update README for YOLO FastAPI demo
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -33,5 +33,7 @@ USER myuser
|
|
| 33 |
# Expose the port used by FastAPI
|
| 34 |
EXPOSE 7860
|
| 35 |
|
|
|
|
|
|
|
| 36 |
# Start the FastAPI application
|
| 37 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 33 |
# Expose the port used by FastAPI
|
| 34 |
EXPOSE 7860
|
| 35 |
|
| 36 |
+
RUN mkdir -p static/output && chmod -R 777 static/output
|
| 37 |
+
|
| 38 |
# Start the FastAPI application
|
| 39 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|