-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(security): address CVE-2022-29244, CVE-2021-39135
Fixes #2136 Signed-off-by: aldousalvarez <[email protected]>
- Loading branch information
1 parent
00572ed
commit 7309f2a
Showing
3 changed files
with
4 additions
and
4 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
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
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 |
---|---|---|
|
@@ -50,7 +50,7 @@ ENV API_PORT=4000 | |
ENV LOG_LEVEL=INFO | ||
|
||
ENV NVM_DIR /home/${APP_USER}/.nvm | ||
ENV NODE_VERSION 16.3.0 | ||
ENV NODE_VERSION 16.15.1 | ||
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION/lib/node_modules | ||
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH | ||
|
||
|
@@ -61,7 +61,7 @@ RUN curl https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash | |
&& nvm install $NODE_VERSION \ | ||
&& nvm alias default $NODE_VERSION \ | ||
&& nvm use default \ | ||
&& npm install -g npm@7.19.1 | ||
&& npm install -g npm@8.11.0 | ||
|
||
RUN npm install -g [email protected] | ||
RUN yarn add @hyperledger/cactus-cmd-api-server@${NPM_PKG_VERSION} --production | ||
|