ex_trainer/Dockerfile
Joao P Dubas ad169e7a22
Some checks failed
continuous-integration/drone/pr Build is failing
chore: install git on Dockerfile
With this update the system can install dependencies from git.
2024-07-08 12:17:41 +00:00

11 lines
275 B
Docker

FROM hexpm/elixir:1.17.2-erlang-27.0-debian-bookworm-20240701-slim AS builder
RUN apt-get update \
&& apt-get -y install git 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