...
docker build -t fastapi
docker run -d --name your name of container -p 8000:8000 fastapi
- Create .env file in root directory
PORT=your
HOST=your
DEBUG=Your
1 - virtualenv myenv
2 - myenv\Scripts\activate
3 - pip3 install -r requirements.txt
4 - uvicorn app.server:app
1 - python3 -m venv venv
2 - source venv/bin/activate
3 - pip3 install -r requirements.txt
4 - uvicorn app.server:app