mbigras / helloku

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Helloku

This is a small flask application to practice using Heroku.

Quickstart

  1. Build the local helloku docker image:

    make build
    
  2. 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 the PORT environment variable. Most cloud container contracts leverage the PORT environment variable during deployment.
  3. In a separate terminal, make a request to $PORT

    PORT=9000
    curl localhost:$PORT/
    

About


Languages

Language:Python 39.5%Language:Makefile 33.4%Language:Dockerfile 14.5%Language:Shell 12.6%