docker cmd.txt 193 B

12345678910
  1. sudo docker build -t backend -< Dockerfile
  2. sudo docker run -d -it --name backend -p 8887:8887 -v /home/ming/workspace:/app backend
  3. uvicorn main:app --host="0.0.0.0" --reload --port 8888