Skip to content

Commit

Permalink
Upgrading base image, Node.js, NPM, and Phoenix
Browse files Browse the repository at this point in the history
  • Loading branch information
supercodepoet committed Apr 11, 2023
1 parent efbb3ec commit 38734e2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/fortawesome/elixir:1.14.3-otp25.2.1-rust1.65.0
FROM quay.io/fortawesome/elixir:1.14.4-otp25.3-rust1.65.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.13.0
ENV NODE_VERSION 18.15.0

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

RUN apt-get install -y nodejs

# install NPM version
ENV NPM_VERSION 9.3.0
ENV NPM_VERSION 9.6.4

RUN npm install -g npm@$NPM_VERSION

# install Hex
RUN mix local.hex --force

ENV PHOENIX_VERSION 1.6.15
ENV PHOENIX_VERSION 1.7.2

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

0 comments on commit 38734e2

Please sign in to comment.