Skip to content

Commit

Permalink
CU-86784puke: build fails due to mix of deb / apt-get package defs fo…
Browse files Browse the repository at this point in the history
…r nodejs. Use default ubuntu nodejs install, as this is 18.03 anyway.
  • Loading branch information
tomolopolis committed Jun 20, 2023
1 parent a8208af commit 2f9a269
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions webapp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ RUN apt-get update -y && \
RUN apt-get install -y vim

# Get node and npm
RUN apt-get install curl && \
curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
apt-get install -y nodejs && apt-get install -y npm && \
npm install -g npm@latest
RUN apt install -y nodejs && apt-get install -y npm && npm install -g npm@latest

# Copy project
WORKDIR /home
Expand Down

0 comments on commit 2f9a269

Please sign in to comment.