docker cmd.txt 441 B

123456789101112
  1. sudo docker build -t backend -< Dockerfile
  2. sudo docker run -d -it --name backend -p 8887:8887 -v C:\Users\ming\Desktop\workspace:/app backend
  3. uvicorn main:app --host="0.0.0.0" --reload --port 8888
  4. python3 -m uvicorn main:app --host 0.0.0.0 --port 8887 --ssl-keyfile=/etc/letsencrypt/www.choozmo.com/privkey2.pem --ssl-certfile=/etc/letsencrypt/www.choozmo.com/cert2.pem --ssl-ca-certs=/etc/letsencrypt/www.choozmo.com/fullchain2.pem