Skip to content

Commit

Permalink
Bumped node.js version, and updated auth configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
zachsa committed Jun 12, 2023
1 parent 463c2e3 commit 97933b9
Show file tree
Hide file tree
Showing 6 changed files with 1,768 additions and 1,247 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build client
FROM node:19.8.1 as client
FROM node:20.3.0 as client

ARG DEPLOYMENT_ENV=production
ARG DEFAULT_NOTICES=
Expand All @@ -25,7 +25,7 @@ RUN npm run build


# Start API
FROM node:16.14.2-alpine
FROM node:20.3.0-alpine

ARG ODP_AUTH_CLIENT_ID=SAEON.NCCIS
ENV ODP_AUTH_CLIENT_ID=$ODP_AUTH_CLIENT_ID
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nccrd",
"version": "5.0.5",
"version": "5.1.0",
"description": "National climate change response database",
"type": "module",
"scripts": {
Expand Down Expand Up @@ -30,9 +30,9 @@
"src/api/src/**/*"
],
"targets": [
"node16-linux-x64",
"node16-macos-x64",
"node16-win-x64"
"latest-linux-x64",
"latest-macos-x64",
"latest-win-x64"
],
"outputPath": "binaries"
},
Expand Down
2 changes: 1 addition & 1 deletion pkg.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:19.8.1
FROM node:20.3.0

WORKDIR /app

Expand Down
Loading

0 comments on commit 97933b9

Please sign in to comment.