Skip to content

Commit

Permalink
Update base image, Node.js, NPM, and Phoenix
Browse files Browse the repository at this point in the history
  • Loading branch information
supercodepoet committed Dec 5, 2023
1 parent 08f4338 commit 7229105
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/fortawesome/elixir:1.15.6-otp26.1.1-rust1.72.0
FROM quay.io/fortawesome/elixir:1.15.7-otp26.1.2-rust1.74.0

ENV DEBIAN_FRONTEND noninteractive

Expand All @@ -18,22 +18,22 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y \

# Install Node
ENV NPM_CONFIG_LOGLEVEL info
ENV NODE_VERSION 18.18.0
ENV NODE_VERSION 20.10.0

# install Node.js with package
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash -

RUN apt-get install -y nodejs

# install NPM version
ENV NPM_VERSION 10.1.0
ENV NPM_VERSION 10.2.4

RUN npm install -g npm@$NPM_VERSION

# install Hex
RUN mix local.hex --force

ENV PHOENIX_VERSION 1.7.7
ENV PHOENIX_VERSION 1.7.10

# install the Phoenix Mix archive
RUN mix archive.install --force hex phx_new $PHOENIX_VERSION
Expand Down

0 comments on commit 7229105

Please sign in to comment.