diff --git a/Dockerfile.1_14_alpine b/Dockerfile.1_14_alpine new file mode 100644 index 0000000..95f1f07 --- /dev/null +++ b/Dockerfile.1_14_alpine @@ -0,0 +1,21 @@ +FROM elixir:1.14-alpine + +WORKDIR /opt + +COPY ./config ./config +COPY ./lib ./lib +COPY ./mix.exs . +COPY ./mix.lock . + +ENV MIX_ENV=prod + +RUN mix local.rebar --force +RUN mix local.hex --force +RUN apk add --no-cache build-base + +RUN mix deps.get +RUN mix deps.compile +RUN mix release + +ENTRYPOINT ["/opt/_build/prod/rel/origin_simulator/bin/origin_simulator"] +CMD ["start"] \ No newline at end of file