Sha256: 5752bd99f6ca738a60d57ed5eeb227b2d16e79391854a87fa3830f1263122e71

Contents?: true

Size: 292 Bytes

Versions: 3

Compression:

Stored size: 292 Bytes

Contents

FROM elixir:<%= upstream.elixir_version %>-alpine

RUN apk update \
&& apk --no-cache --update add alpine-sdk \
&& mix local.rebar --force \
&& mix local.hex --force

WORKDIR /opt/app
COPY . .

ENV MIX_ENV=prod
RUN mix do deps.get --only prod, deps.compile
CMD ["sh", "-c", "mix phx.server"]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vps-0.2.1 templates/docker/upstream/Dockerfile.phoenix.erb
vps-0.2.0 templates/docker/upstream/Dockerfile.phoenix.erb
vps-0.1.2 templates/docker/upstream/Dockerfile.phoenix.erb