Skip to content

Commit

Permalink
Upgrade NodeJs and Nginx (#2227)
Browse files Browse the repository at this point in the history
  • Loading branch information
IOhacker authored Dec 24, 2024
1 parent 21e2e97 commit 14be6da
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4

- name: Use Node.js 19
- name: Use Node.js 22
uses: actions/setup-node@v1
with:
# no support for lts as of now with github actions.
# issue link : https://github.com/actions/setup-node/issues/26
# lts/gallium node v19.7.0 (npm v9.5.0)
node-version: '19.7.0'
node-version: '22.9.0'
- name: Angular CLI install
run: npm install -g --silent @angular/cli@14.2.12
run: npm install -g --silent @angular/cli@16.0.2

- name: Npm install
run: npm install
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
###############
### STAGE 1: Build app
###############
ARG BUILDER_IMAGE=node:19-alpine
ARG NGINX_IMAGE=nginx:1.19.3
ARG BUILDER_IMAGE=node:22.9.0-alpine
ARG NGINX_IMAGE=nginx:1.27.3

FROM $BUILDER_IMAGE as builder
ARG NPM_REGISTRY_URL=https://registry.npmjs.org/
Expand Down Expand Up @@ -33,7 +33,7 @@ RUN npm cache clear --force
RUN npm config set fetch-retry-maxtimeout 120000
RUN npm config set registry $NPM_REGISTRY_URL --location=global

RUN npm install --location=global @angular/cli@14.2.12
RUN npm install --location=global @angular/cli@16.0.2

RUN npm install

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ The latest code is continuously deployed at https://openmf.github.io/web-app/ wh

[`git`](https://git-scm.com/downloads)

[`npm`](https://nodejs.org/en/download/)
[`nodeJs`](https://nodejs.org/en/download/)

2. Install [angular-cli](https://github.com/angular/angular-cli) globally.
3. Install [angular-cli](https://github.com/angular/angular-cli) globally.

```
npm install -g @angular/cli@14.2.12
npm install -g @angular/cli@16.0.2
```

3. Clone the project locally into your system.
Expand Down

0 comments on commit 14be6da

Please sign in to comment.