Skip to content

Commit 2ca0fec

Browse files
build: update nginx to 1.27.4 and Node.js to 22
1 parent 07ffeec commit 2ca0fec

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/docker-build-and-push.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
# Define tag of official Node.js image to be used as the base image
2626
# for the build, this is passed as a build argument to Dockerfile
2727
# https://hub.docker.com/_/node/.
28-
NODE_IMAGE_TAG: 20-alpine
28+
NODE_IMAGE_TAG: 22-alpine
2929
# Define tag of official nginx image to be used as the final image
3030
# for the build, this is passed as a build argument to Dockerfile
3131
# https://hub.docker.com/_/nginx
32-
NGINX_IMAGE_TAG: 1.26.2-alpine
32+
NGINX_IMAGE_TAG: 1.27.4-alpine
3333

3434
steps:
3535
# Check out repository.

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
1212

1313
- Remove RouterOutlet from AppComponent imports as it is not used.
1414
- Update major version of Angular in Dockerfile.
15+
- Update `nginx` to 1.27.4 and `Node.js` to 22.
1516
- Deps: update `@angular/cli` to 19.1.7, `@angular/core` to 19.1.6, `@angular/cdk` to 19.1.4 and `@angular/material` to 19.1.4.
1617
- Deps: update `docx` to 9.2.0.
1718
- Deps: update `openai` to 4.85.1.

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ ARG ANGULAR_MAJOR_VERSION=19
1010
# and define a default tag in case the build argument is not passed.
1111
# The Node.js image is used as the build image of the app,
1212
# https://hub.docker.com/_/node/.
13-
ARG NODE_IMAGE_TAG=20-alpine
13+
ARG NODE_IMAGE_TAG=22-alpine
1414

1515
# Enable passing the tag of the nginx image as a build argument,
1616
# and define a default tag in case the build argument is not passed.
1717
# The nginx image is used as the final image of the app,
1818
# https://hub.docker.com/_/nginx.
19-
ARG NGINX_IMAGE_TAG=1.26.2-alpine
19+
ARG NGINX_IMAGE_TAG=1.27.4-alpine
2020

2121
# 1. Create intermediate build image from official Node.js image.
2222
FROM node:${NODE_IMAGE_TAG} AS build

0 commit comments

Comments
 (0)