-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #132 from brainlife/enh/update_pkg_versions
Update package versions
- Loading branch information
Showing
4 changed files
with
11 additions
and
9 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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
FROM node:16 | ||
FROM node:20 | ||
|
||
COPY . /app | ||
|
||
WORKDIR /app | ||
RUN npm install -g pm2 typescript tsc-watch | ||
|
||
RUN npm install | ||
RUN npm install -g [email protected] | ||
|
||
RUN npm install -g pm2 typescript tsc-watch |
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 |
---|---|---|
|
@@ -17,8 +17,8 @@ export BRAINLIFE_AUTHENTICATION | |
|
||
git submodule update --init --recursive | ||
|
||
(cd api && npm install) | ||
(cd ui && npm install) | ||
(cd api && npm install -g [email protected]) | ||
(cd ui && npm install -g [email protected]) | ||
|
||
mkdir -p /tmp/upload | ||
mkdir -p /tmp/workdir | ||
|
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 |
---|---|---|
|
@@ -62,7 +62,7 @@ RUN apt-get update \ | |
&& mkdir -p /etc/apt/keyrings \ | ||
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg | ||
|
||
ARG NODE_MAJOR=16 | ||
ARG NODE_MAJOR=20 | ||
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list | ||
|
||
RUN apt-get update \ | ||
|
@@ -90,7 +90,8 @@ ENV NODE_PATH $NVM_DIR/v$NODE_VERSION/lib/node_modules | |
ENV PATH $NVM_DIR/v$NODE_VERSION/bin:$PATH | ||
|
||
#install bids-validator | ||
RUN npm install -g [email protected] | ||
RUN npm install -g [email protected] | ||
RUN npm install -g [email protected] | ||
RUN git clone https://github.com/bids-standard/bids-validator | ||
|
||
# install source code from local | ||
|
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
FROM node:16 | ||
FROM node:20 | ||
|
||
COPY . /ui | ||
WORKDIR /ui | ||
|
||
RUN npm install | ||
RUN npm install -g [email protected] | ||
|
||
CMD [ "npm", "run", "dev" ] |