Sha256: 3b609d96e67c4e96a2ca529e57feed4a63f11f4dffa3e999bc1cd7a2c849f895

Contents?: true

Size: 293 Bytes

Versions: 1

Compression:

Stored size: 293 Bytes

Contents

FROM elixir:<%= upstream.tool_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 run --no-halt"]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vps-0.1.1 templates/docker/upstream/Dockerfile.plug.erb