-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ USER root | |
WORKDIR /opt/helios-backend/src | ||
|
||
ENV NODE_VERSION [email protected] | ||
ENV NPM_VERSION npm@10.2.4 | ||
ENV NPM_VERSION npm@10.5.0 | ||
|
||
# Add custom user id | ||
RUN microdnf install util-linux | ||
|
@@ -17,7 +17,7 @@ RUN groupadd --gid 1001 solarcar-user \ | |
|
||
# Remove old npm cached files and update version of npm to a node compatible version | ||
RUN npm cache clean -force \ | ||
&& rm -rf /opt/helios-backend/src/.npm \ | ||
# && rm -rf /opt/helios-backend/src/.npm \ | ||
&& npm install -g "${NPM_VERSION}" \ | ||
&& rm -rf /usr/lib/node_modules | ||
|
||
|