Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Upgrade terriajs-server to version 5 alpha
- Requires node version 22 or above
- Bump Dockerfile base images and `engines.node` to node 22 to match this requirement
- Comes with a new version of proxy rewritten using undici instead of deprecated `request` package. This should improve the performance and reliability of the proxy. Please test your map with this new version of terriajs-server and report any issues you find.
- For full changelog see [terriajs-server CHANGES.md](https://github.com/TerriaJS/terriajs-server/blob/master/CHANGES.md#next-release---unreleased)

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# develop container
FROM node:20 AS develop
FROM node:22 AS develop

# build container
FROM node:20 AS build
FROM node:22 AS build
USER node

COPY --chown=node:node . /app
Expand All @@ -13,7 +13,7 @@ RUN yarn install --network-timeout 1000000
RUN yarn gulp release

# deploy container
FROM node:20-slim AS deploy
FROM node:22-slim AS deploy

USER node

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"description": "Geospatial catalog explorer based on TerriaJS.",
"license": "Apache-2.0",
"engines": {
"node": ">= 20.0.0"
"node": ">= 22.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -94,4 +94,4 @@
"prettier": "prettier --write .",
"prettier-check": "prettier --check ."
}
}
}