Skip to content

Commit

Permalink
Remove installing npm from Dockerfile
Browse files Browse the repository at this point in the history
It seems npm is installed via the nodejs package already and trying to
install npm causes a deb package conflict.
  • Loading branch information
daniele-mng authored and bjoernricks committed Feb 5, 2025
1 parent 332cca8 commit 3ab2209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .docker/prod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dear

RUN apt-get update && \
apt-get install -y --no-install-recommends \
nodejs npm && \
nodejs && \
rm -rf /var/lib/apt/lists/*

COPY . /source
Expand Down

0 comments on commit 3ab2209

Please sign in to comment.