ex_trainer/Dockerfile
Joao P Dubas 6ff64e2b31
Some checks failed
continuous-integration/drone/pr Build is failing
feat: upgrade elixir runtime
2024-06-12 14:21:44 +00:00

11 lines
271 B
Docker

FROM hexpm/elixir:1.17.0-erlang-27.0-debian-bookworm-20240513-slim AS builder
RUN apt-get update \
&& apt-get -y install make
WORKDIR /opt/app
COPY ./mix.exs ./
COPY ./mix.lock ./
RUN mix do local.hex --force, local.rebar --force \
&& mix do deps.get, deps.compile