docker compose dev environment
Some checks failed
CI/CD Pipeline / build (push) Failing after 4s

This commit is contained in:
2026-03-10 10:09:27 -06:00
parent d01ae816d2
commit b3619a145f
6 changed files with 211 additions and 101 deletions

17
dev.Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM elixir:1.19.5-otp-28-alpine
RUN apk add --no-cache build-base git bash wget nodejs npm inotify-tools
WORKDIR /app
ENV USER="elixir"
RUN addgroup -g 1000 $USER && \
adduser -D -u 1000 -G $USER $USER
RUN mkdir -p /app/_build && \
chown -R elixir:elixir /app
USER elixir
RUN mix local.hex --force && \
mix local.rebar --force