From 880804f90afa5e90ab860f00c54aa5092b8fe343 Mon Sep 17 00:00:00 2001 From: Robert Joonas Date: Thu, 2 Jan 2025 10:10:52 +0000 Subject: [PATCH] try a different approach --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ec88934621cfd..695a9c580bf09 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # platform specific, it makes sense to build it in the docker #### Builder -FROM hexpm/elixir:1.17.1-erlang-27.0-alpine-3.20.1 AS buildcontainer +FROM hexpm/elixir:1.17.1-erlang-27.0-alpine-3.21.0 AS buildcontainer ARG MIX_ENV=ce @@ -20,7 +20,8 @@ RUN mkdir /app WORKDIR /app # install build dependencies -RUN apk add --no-cache git nodejs yarn python3 npm ca-certificates wget gnupg make gcc libc-dev brotli +RUN apk add --no-cache git nodejs yarn python3 npm ca-certificates wget gnupg make gcc libc-dev brotli && \ + npm install npm@latest -g COPY mix.exs ./ COPY mix.lock ./