diff --git a/.github/workflows/curator-api-node.yml b/.github/workflows/curator-api-node.yml index 599c86122..3c6633221 100644 --- a/.github/workflows/curator-api-node.yml +++ b/.github/workflows/curator-api-node.yml @@ -24,7 +24,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: "12.x" + node-version: "16.x" - name: Build and test run: | npm ci diff --git a/.github/workflows/curator-ui-node.yml b/.github/workflows/curator-ui-node.yml index 0a8944269..02ecda992 100644 --- a/.github/workflows/curator-ui-node.yml +++ b/.github/workflows/curator-ui-node.yml @@ -24,7 +24,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: "12.x" + node-version: "16.x" - name: Build and test run: | git config --global url."https://github.com/".insteadOf git@github.com: diff --git a/.github/workflows/data-service-node.yml b/.github/workflows/data-service-node.yml index da8d135b0..7fa677b0e 100644 --- a/.github/workflows/data-service-node.yml +++ b/.github/workflows/data-service-node.yml @@ -24,7 +24,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: "12.x" + node-version: "16.x" - name: Build and test run: | npm ci diff --git a/.github/workflows/update-dev-curator-db-schema.yml b/.github/workflows/update-dev-curator-db-schema.yml index f62a0dcb1..18acc9bb5 100644 --- a/.github/workflows/update-dev-curator-db-schema.yml +++ b/.github/workflows/update-dev-curator-db-schema.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: "12.x" + node-version: "16.x" - name: Migrate dev database env: diff --git a/.github/workflows/update-prod-curator-db-schema.yml b/.github/workflows/update-prod-curator-db-schema.yml index c4a5fe173..70a862dbf 100644 --- a/.github/workflows/update-prod-curator-db-schema.yml +++ b/.github/workflows/update-prod-curator-db-schema.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: "12.x" + node-version: "16.x" - name: Migrate prod database env: diff --git a/data-serving/data-service/Dockerfile b/data-serving/data-service/Dockerfile index 8b8602287..60eccaa19 100644 --- a/data-serving/data-service/Dockerfile +++ b/data-serving/data-service/Dockerfile @@ -1,7 +1,7 @@ # Docker file for data service. # Follows multi-staged build where "dev" can be used for development # and "prod" follows security best-practices and uses a trimmed down image. -FROM node:14.17.1 as dev +FROM node:16.18.0 as dev # Create app directory WORKDIR /usr/src/app/data-serving/data-service @@ -35,7 +35,7 @@ EXPOSE 3000 CMD [ "npm", "start" ] # Multi-staged build, we don't need a full node image to run the app. -FROM node:14.17.1-alpine as prod +FROM node:16.18.0-alpine as prod # No need to run as root. USER node @@ -52,4 +52,4 @@ COPY --from=dev /usr/src/app/data-serving/data-service/dist ./dist # Start service, do not use npm start instead invoke node directly # to avoid wrapping the process uselessly and correctly catch SIGTERM and SIGINT. -CMD [ "node", "dist/server.js" ] \ No newline at end of file +CMD [ "node", "dist/server.js" ] diff --git a/data-serving/data-service/package.json b/data-serving/data-service/package.json index 043f1e886..8a24a5f15 100644 --- a/data-serving/data-service/package.json +++ b/data-serving/data-service/package.json @@ -97,6 +97,6 @@ ] }, "engines": { - "node": "14.17.1" + "node": "16.18.0" } } diff --git a/verification/curator-service/Dockerfile b/verification/curator-service/Dockerfile index 1aa75c193..7fe1fc26d 100644 --- a/verification/curator-service/Dockerfile +++ b/verification/curator-service/Dockerfile @@ -1,7 +1,7 @@ # This dockerfile builds the curator API service and its UI in a single container. # The UI is served as a static resource from the curator API service express server. # Security best practices are followed and a trimmed down image is used for production serving. -FROM node:14.17.6 as builder +FROM node:16.18.0 as builder # Build the curator service. WORKDIR /usr/src/app/verification/curator-service/api @@ -47,7 +47,7 @@ RUN npm run build # Multi-staged build, use a trimmed down version of node for prod. -FROM node:14.17.6 as prod +FROM node:16.18.0 as prod # No need to run as root. USER node diff --git a/verification/curator-service/api/Dockerfile b/verification/curator-service/api/Dockerfile index cef7ab824..7b18febe0 100644 --- a/verification/curator-service/api/Dockerfile +++ b/verification/curator-service/api/Dockerfile @@ -1,5 +1,5 @@ # Dev docker file for curator service. -FROM node:16.14.2 +FROM node:16.18.0 # set the version (this should be set from outside) ARG CURATOR_VERSION @@ -23,4 +23,4 @@ RUN npm run build # Expose service on port 3001. EXPOSE 3001 # Start the service. -CMD [ "npm", "start" ] \ No newline at end of file +CMD [ "npm", "start" ] diff --git a/verification/curator-service/api/package.json b/verification/curator-service/api/package.json index 1f640d2d9..b683c1552 100644 --- a/verification/curator-service/api/package.json +++ b/verification/curator-service/api/package.json @@ -110,6 +110,6 @@ ] }, "engines": { - "node": "16.14.2" + "node": "16.18.0" } } diff --git a/verification/curator-service/ui/Dockerfile b/verification/curator-service/ui/Dockerfile index 187421674..e03a2c23a 100644 --- a/verification/curator-service/ui/Dockerfile +++ b/verification/curator-service/ui/Dockerfile @@ -1,5 +1,5 @@ # Dev docker file for curator UI. -FROM node:14.17.1 +FROM node:16.18.0 WORKDIR /usr/src/app/verification/curator-service/ui # Install app dependencies @@ -16,4 +16,4 @@ COPY verification/curator-service/ui/. . # Bundle common files COPY common/* ../../../common/ # Start the service. -CMD [ "npm", "start" ] \ No newline at end of file +CMD [ "npm", "start" ] diff --git a/verification/curator-service/ui/package.json b/verification/curator-service/ui/package.json index 3c7e11532..8924c92b3 100644 --- a/verification/curator-service/ui/package.json +++ b/verification/curator-service/ui/package.json @@ -127,6 +127,6 @@ ] }, "engines": { - "node": "14.17.1" + "node": "16.18.0" } }