andresjz / heroku-docker-container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test-web on heroku

The main goal of this repository is to allow you to deploy static content adding a basic security layer, since heroku support the deployment of container, you can easily create your custom configuration, in this case using basic authentication, however you can implement other configurationif you want

Requirements

Instructions

Login to heroku heroku login If you don't have an app created yet, you can run heroku create

    export APP_NAME=heroku-app-name
    export HEROKU_API_KEY=api-key
    heroku container:login
    heroku container:push -a $APP_NAME web
    heroku container:release -a $APP_NAME web
  1. run heroku open -a $APP_NAME web https://$APP_NAME.herokuapp.com

  2. to see the logs heroku logs --tail -a $APP_NAME

About


Languages

Language:Dockerfile 41.4%Language:JavaScript 31.9%Language:HTML 26.7%