From 990064aaa22277db87c3f4b69065873ff034aad7 Mon Sep 17 00:00:00 2001 From: Javier Gonel Date: Sun, 11 Feb 2024 22:28:49 +0100 Subject: [PATCH] Reuse official docker base image --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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