Skip to content

Commit

Permalink
Fix Dockerfile - npm missing from the App Image #1242
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Feb 6, 2024
1 parent 9bf8243 commit 1a9ef86
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions docker/app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ RUN apt-get update

RUN apt-get install -y apt-utils

# Add NodeJS LTS Repository
ARG NODE_VERSION=18
RUN apt-get install -y ca-certificates curl gnupg \
&& mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_VERSION.x nodistro main" > /etc/apt/sources.list.d/nodesource.list \
&& apt-get update
# Add NodeJS 18 Repository
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
apt-get install -y nodejs

RUN apt-get install -y \
libc-client-dev \
Expand Down

0 comments on commit 1a9ef86

Please sign in to comment.