This commit is contained in:
2026-03-02 08:40:30 -07:00
parent 2b013f390b
commit 9955a7f90c
39 changed files with 1388 additions and 1 deletions

14
backend/dev.Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM hexpm/elixir:1.15.7-erlang-26.1.2-alpine-3.18.4
RUN apk add --no-cache build-base git bash wget
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