Helloku
This is a small flask application to practice using Heroku.
Quickstart
-
Build the local
helloku
docker image:make build
-
Run the local
helloku
docker container:PORT=9000 make run PORT=$PORT
- The local container will bind to the port specified by the
PORT
make variable. This gets passed into the container using thePORT
environment variable. Most cloud container contracts leverage thePORT
environment variable during deployment.
- The local container will bind to the port specified by the
-
In a separate terminal, make a request to
$PORT
PORT=9000 curl localhost:$PORT/