Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
@@ -50,8 +50,5 @@ COPY . .
|
|
50 |
EXPOSE 7860
|
51 |
EXPOSE 8501
|
52 |
|
53 |
-
# Run the
|
54 |
-
CMD ["
|
55 |
-
|
56 |
-
# Start the Streamlit application separately
|
57 |
-
CMD ["streamlit", "run", "frontend.py", "--server.port", "8501", "--server.enableXsrfProtection", "false"]
|
|
|
50 |
EXPOSE 7860
|
51 |
EXPOSE 8501
|
52 |
|
53 |
+
# Run the application.
|
54 |
+
CMD ["bash", "-c", "uvicorn main:app --host 0.0.0.0 --port 7860 & streamlit run BrainBot.py --server.port 8501 --server.enableXsrfProtection false"]
|
|
|
|
|
|