PLEASE HELP Creating a flask application to generate a QR code based on form input. All you
Question:
PLEASE HELP Creating a flask application to generate a QR code based on form input. All you need is to type the code into main.py that is in the photos
Command Reference - No Particular Order
docker build -t kaw393939/python312 . <- builds image called "kaw393939/python312"
docker run -it kaw393939/python312 <- Runs python type exit() to get out
docker run -it kaw393939/python312 <- Runs the default main.py CMD in the dockerfile
docker run -it kaw393939/python312 app.py <-overrides cmd/command in dockerfile to run app.py instead
docker compose up --build < runs the service defined through the docker-compose.yml file that tells it to build the Dockerfile
docker compose up <- Runs the program but doesn't build a new image
docker run --volume /Users/keithwilliams/Desktop/fall2022/qrprog/qr_generator_service/images:/home/myuser/images Note:
You need to build each time you change your dockerfile
docker exec -it bash allows you to login to the running container
docker tag local-image:tagname new-repo:tagname docker push new-repo:tagname docker login <- login to dockerhub if it says access denied when you try to push curl -X POST https://reqbin.com/echo/post/form -H "Content-Type: application/x-www-form-urlencoded" -d "param1=value1¶m2=value2" PART 1 PART 2
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill