diff --git a/Dockerfile b/Dockerfile index fb5b7e9..c7398bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # FROM graffic/elixir:alpine-arm64v8 as build -FROM graffic/elixir:alpine-x86_64 as build +FROM elixir:1.7.3-alpine as build COPY mix.* /build/ COPY priv /build/priv/ COPY lib /build/lib/ @@ -7,7 +7,9 @@ COPY config /build/config/ COPY rel /build/rel/ ENV MIX_ENV=prod WORKDIR /build -RUN mix deps.get &&\ +RUN mix local.hex --force &&\ + mix local.rebar --force &&\ + mix deps.get &&\ mix release # FROM arm64v8/alpine:latest