b4046eb073
* Copy opentelemetry-examples/basic_elixir over * Bump opentelemtry and opentelemetry_exporter to 1,0.0-rc.3 * Remove OpenTelemetry.register_application_tracer * Update example to be consistent with opentelemetry.io docs Co-authored-by: Tristan Sloughter <t@crashfast.com>
14 lines
307 B
Docker
14 lines
307 B
Docker
FROM elixir:1.9-alpine as builder
|
|
RUN mix local.hex --force && mix local.rebar --force
|
|
WORKDIR /app
|
|
COPY . /app
|
|
RUN mix deps.get
|
|
RUN MIX_ENV=prod mix release
|
|
|
|
FROM alpine:latest as app
|
|
RUN apk add bash openssl
|
|
WORKDIR /app
|
|
COPY --from=builder /app/_build/prod/rel/basic_elixir .
|
|
CMD bin/basic_elixir start
|
|
|