ADD file:33ebe56b967747a97dcec01bc2559962bee8823686c9739d26be060381bbb3ca in / |
CMD ["/bin/sh"] |
ENV OAUTH_CONSUMER_STRATEGIES="oidcc" |
ENV MIX_ENV=prod |
/bin/sh -c adduser -S -u 111 akkoma && mkdir -p /opt/akkoma && chown akkoma /opt/akkoma && apk add --no-cache git erlang elixir ffmpeg imagemagick exiftool build-base cmake file-dev make postgresql16-client |
USER akkoma |
ARG AKKOMA_TAG |
WORKDIR /opt/akkoma |
|1 AKKOMA_TAG=v3.13.2 /bin/sh -c git clone --depth 1 https://akkoma.dev/AkkomaGang/akkoma.git -b $AKKOMA_TAG /opt/akkoma && git config --global --add safe.directory /opt/akkoma && echo "import Mix.Config" > config/prod.secret.exs && mix local.hex --force && mix local.rebar --force && mix deps.get --only prod && mix release --path /opt/akkoma |
COPY file:ec8f69c7daa5c340b23b3f2347bbb633bd8d007a515197f4a4f0ef0134f9eb12 in /entrypoint.sh |
ENTRYPOINT [ "/opt/akkoma/docker-entrypoint.sh" ] |