Hi,
I am trying to deploy my application on Hugging Face with a FastAPI backend and Streamlit frontend. The application is containerized using Docker. The issue is that my Streamlit frontend is not launched when I run the application although the app works fine on my local system.
I am using the following command in my Dockerfile:
Expose the port that the application listens on.
EXPOSE 7860
Run the application.
CMD [“bash”, “-c”, “uvicorn main:app --host 0.0.0.0 --port 7860 & streamlit run myapp.py --server.port 8501”]
Can someone guide me how to troubleshoot this issue?