Skip to content

Commit

Permalink
chore: test updating node to 16.20
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-smith-tcril committed Apr 9, 2024
1 parent 5fa163a commit 2511556
Show file tree
Hide file tree
Showing 5 changed files with 1,363 additions and 167 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.14
16
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ RUN pip install -r requirements/pip.txt
RUN pip install -r requirements/edx/base.txt

# Install node and npm
RUN nodeenv /edx/app/edxapp/nodeenv --node=16.14.0 --prebuilt
RUN npm install -g npm@8.5.x
RUN nodeenv /edx/app/edxapp/nodeenv --node=16.20.2 --prebuilt
RUN npm install -g npm@8.19.x

# This script is used by an npm post-install hook.
# We copy it into the image now so that it will be available when we run `npm install` in the next step.
Expand All @@ -125,7 +125,7 @@ COPY scripts/copy-node-modules.sh scripts/copy-node-modules.sh
# Install node modules
COPY package.json package.json
COPY package-lock.json package-lock.json
RUN npm set progress=false && npm ci
RUN npm set progress=false && CXXFLAGS="--std=c++17" npm ci

# The builder-development stage is a temporary stage that installs python modules required for development purposes
# The built artifacts from this stage are then copied to the development stage.
Expand Down
Loading

0 comments on commit 2511556

Please sign in to comment.