Skip to content

Commit

Permalink
Merge pull request #125 from GrahamCampbell/node-18
Browse files Browse the repository at this point in the history
Fix installation of node for container image
  • Loading branch information
mnapoli authored Oct 4, 2023
2 parents 0a80e27 + 7034018 commit 0b505fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layers/fpm-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ COPY --link bref-entrypoint.sh /
RUN chmod +x /bref-entrypoint.sh

# Install node to run the JS app below
RUN curl --silent --location https://rpm.nodesource.com/setup_16.x | bash -
RUN yum install --setopt=skip_missing_names_on_install=False -y nodejs
RUN yum install https://rpm.nodesource.com/pub_16.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y
RUN yum install --setopt=nodesource-nodejs.module_hotfixes=1 --setopt=skip_missing_names_on_install=False -y nodejs

# Install the bref/local-api-gateway app in our container (avoids running 2 containers)
COPY --link --from=bref/local-api-gateway /app /local-api-gateway
Expand Down

0 comments on commit 0b505fd

Please sign in to comment.