Skip to content

Commit

Permalink
Merge pull request TerriaJS#656 from pjonsson/node16-upgrade
Browse files Browse the repository at this point in the history
Update from node 14 to 16
  • Loading branch information
nf-s committed Dec 13, 2023
2 parents 37226e6 + 71731d2 commit 4e53b40
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
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:14 as develop
FROM node:16 as develop

# build container
FROM node:14 as build
FROM node:16 as build
USER node

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

# deploy container
FROM node:14-slim as deploy
FROM node:16-slim as deploy

USER node

Expand Down
2 changes: 1 addition & 1 deletion deploy/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Docker image for the primary terria map application server
FROM node:14
FROM node:16

RUN mkdir -p /usr/src/app && mkdir -p /etc/config/client
WORKDIR /usr/src/app/component
Expand Down
2 changes: 1 addition & 1 deletion 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": ">= 14.0.0"
"node": ">= 16.0.0"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 4e53b40

Please sign in to comment.