1
0
Fork 0
mirror of https://git.pleroma.social/pleroma/pleroma.git synced 2026-02-15 17:16:57 +00:00
pleroma/docker/federation/test_runner/Dockerfile
2026-02-03 10:32:43 +04:00

22 lines
326 B
Docker

# syntax=docker/dockerfile:1
ARG ELIXIR_IMAGE=elixir:1.19.0-otp-28
FROM ${ELIXIR_IMAGE}
WORKDIR /app
ENV MIX_ENV=test
RUN mix local.hex --force && mix local.rebar --force
COPY mix.exs mix.lock ./
RUN mix deps.get --only test
RUN mix deps.compile
COPY lib lib
COPY test test
CMD ["mix", "test", "--color", "--trace"]