Spaces:
Running
Running
Melika Kheirieh
commited on
Commit
·
31efb12
1
Parent(s):
adb02fa
feat(docker): run uvicorn and demo app concurrently
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -26,4 +26,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=3 \
|
|
| 26 |
|
| 27 |
# ---------- Run both backend & frontend ----------
|
| 28 |
EXPOSE 7860 8000
|
| 29 |
-
CMD ["bash", "-c", "uvicorn main:app --host 0.0.0.0 --port 8000 & python app.py"]
|
|
|
|
| 26 |
|
| 27 |
# ---------- Run both backend & frontend ----------
|
| 28 |
EXPOSE 7860 8000
|
| 29 |
+
CMD ["bash", "-c", "uvicorn main:app --host 0.0.0.0 --port 8000 & python demo/app.py"]
|