Skip to content

Instantly share code, notes, and snippets.

@petermueller
petermueller / release.Dockerfile
Created March 16, 2021 13:38 — forked from kyleVsteger/release.Dockerfile
Multistage Elixir 1.11 Phoenix Live View Release Dockerfile
ARG ALPINE_VERSION=3.12.0
FROM hexpm/elixir:1.11.0-erlang-23.1.1-alpine-3.12.0 as builder
ARG APP_VSN="1.0.0"
# Replace `your_app` with your otp application name.
ENV APP_NAME=your_app \
APP_VSN=${APP_VSN} \
MIX_ENV=prod