Skip to content

Commit

Permalink
build: frontend container cannot be built since npm version 20.15.1 (#…
Browse files Browse the repository at this point in the history
…10536)

Frontend docker container build fails with new npm:latest (20.15.1) version. 
See npm/cli#7639

This PR set the version to the previous 20.15.0 until it's fixed.

--
Co-authored-by: Alex Garel <alex@garel.org>
  • Loading branch information
4nt0ineB authored Jul 11, 2024
1 parent 9a5168d commit 7900399
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile.frontend
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
ARG USER_UID=1000
ARG USER_GID=1000

FROM node:lts AS builder
# 2024-07-11 fixed to 20.15.0 because of https://github.com/npm/cli/issues/7639 in current LTS
FROM node:20.15.0 AS builder
ARG USER_UID
ARG USER_GID
RUN usermod --uid $USER_UID node && \
Expand Down

0 comments on commit 7900399

Please sign in to comment.