Spaces:
Sleeping
Sleeping
Vela
commited on
Commit
·
82948d2
1
Parent(s):
9635bbc
updated docker file
Browse files- Dockerfile +1 -6
Dockerfile
CHANGED
@@ -32,9 +32,4 @@ RUN chmod +x /usr/local/bin/wait-for-it
|
|
32 |
EXPOSE 8000 7860
|
33 |
|
34 |
# Combined startup with better control
|
35 |
-
CMD ["sh", "-c", "
|
36 |
-
tmux new-session -d -s backend 'uvicorn src.backend.main:app --host 0.0.0.0 --port 8000' &&
|
37 |
-
echo 'Waiting for FastAPI to start...' &&
|
38 |
-
sleep 10 &&
|
39 |
-
streamlit run src/frontend/home.py --server.port 7860 --server.address 0.0.0.0
|
40 |
-
"]
|
|
|
32 |
EXPOSE 8000 7860
|
33 |
|
34 |
# Combined startup with better control
|
35 |
+
CMD ["sh", "-c", "tmux new-session -d -s backend 'uvicorn src.backend.main:app --host 0.0.0.0 --port 8000' && echo 'Waiting for FastAPI to start...' && sleep 10 && streamlit run src/frontend/home.py --server.port 7860 --server.address 0.0.0.0"]
|
|
|
|
|
|
|
|
|
|