Skip to content

Commit

Permalink
Merge pull request #1137 from sennetconsortium/maxsibilla/dockerfile-fix
Browse files Browse the repository at this point in the history
Updating dockerfile with nodejs fix
  • Loading branch information
maxsibilla authored Jan 9, 2024
2 parents d8c1be3 + a486536 commit bbcb03c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/portal-ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ COPY . .
# Update to latest npm
# Copy the entrypoint script and make it executible
# Clean all yum cache
RUN yum install https://rpm.nodesource.com/pub_18.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y && \
yum install nodejs -y --setopt=nodesource-nodejs.module_hotfixes=1 && \
RUN curl -fsSL https://rpm.nodesource.com/setup_18.x | bash - && \
yum install -y nodejs && \
npm install npm@latest -g && \
cp /usr/src/app/entrypoint.sh /usr/local/bin/entrypoint.sh && \
chmod +x /usr/local/bin/entrypoint.sh && \
Expand Down

0 comments on commit bbcb03c

Please sign in to comment.