Apk not working on alpine linux image

Have you waited a bit and tried again?

Maybe just give it a try. Add some DNS servers to your Compose file.

version: "0.0"

services:
  alpine-elixir:
    image: bitwalker/alpine-elixir:1.3.4
    volumes:
      - ./:/app
    working_dir: /app
    dns:
      - 1.1.1.1
      - 4.4.4.4
      - 8.8.8.8