Public | Automated Build

Last pushed: 2 years ago
Short Description
Deploy Elixir applications to Heroku
Full Description

Heroku Elixir Docker Image

An image for deploying Elixir applications to Heroku.

Usage

Create your own Dockerfile inheriting from this image:

FROM thoughtbot/heroku-elixir

Here's a sample bin/deploy script you can use in your Heroku project, assuming
you already have the heroku-docker Heroku plugin installed:

#!/bin/sh

set -e

if (( $# != 1 )); then
  echo "Usage: ./bin/deploy (staging|production)"
  exit 1
fi

if [ $(uname) == "Darwin" ]; then
  eval "$(docker-machine env default)"
fi

heroku docker:release --remote "$1"
heroku open --remote "$1"
Docker Pull Command
Owner
thoughtbot
Source Repository