File size: 290 Bytes
8bafbc4
 
 
 
 
 
1
2
3
4
5
6
#!/bin/bash

# Launch the Uvicorn server, pointing to the 'app' object in the 'app/main.py' module.
# The --host 0.0.0.0 makes it accessible from outside the container.
# The port should match the one exposed in your Dockerfile and README.md.
uvicorn app.main:app --host 0.0.0.0 --port 7860