ex_trainer/Dockerfile
Joao P Dubas 49eeff8912
All checks were successful
continuous-integration/drone/pr Build is passing
chore(deps): bump erlang 26.2.3 to 26.2.5
2024-05-16 16:51:17 +00:00

11 lines
273 B
Docker

FROM hexpm/elixir:1.16.2-erlang-26.2.5-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