Skip to content

Commit

Permalink
chore: bump erlang/elixir to sonoma friendly versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Whoops authored and bklebe committed Nov 6, 2023
1 parent 89fca95 commit af1807e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
elixir 1.14.3-otp-25
erlang 25.2.2
elixir 1.14.5-otp-25
erlang 25.3.2.7
python 3.9.16

12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG ELIXIR_VERSION=1.14.3
ARG ERLANG_VERSION=25.2.2
ARG ALPINE_VERSION=3.17.0
ARG ELIXIR_VERSION=1.14.5
ARG ERLANG_VERSION=25.3.2.7
ARG ALPINE_VERSION=3.17.5

FROM hexpm/elixir:${ELIXIR_VERSION}-erlang-${ERLANG_VERSION}-alpine-${ALPINE_VERSION} as builder

Expand Down Expand Up @@ -29,15 +29,15 @@ RUN mix release
FROM alpine:${ALPINE_VERSION}

RUN apk add --no-cache libssl1.1 dumb-init libstdc++ libgcc ncurses-libs && \
mkdir /work /api && \
adduser -D api && chown api /work
mkdir /work /api && \
adduser -D api && chown api /work

COPY --from=builder /root/_build/prod/rel/api_web /api

# Set exposed ports
EXPOSE 4000
ENV PORT=4000 MIX_ENV=prod TERM=xterm LANG=C.UTF-8 \
ERL_CRASH_DUMP_SECONDS=0 RELEASE_TMP=/work
ERL_CRASH_DUMP_SECONDS=0 RELEASE_TMP=/work

USER api
WORKDIR /work
Expand Down

0 comments on commit af1807e

Please sign in to comment.