diff --git a/.node-version b/.node-version index 07c142f..cb406c6 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -16.13.1 +16.20.2 diff --git a/Dockerfile b/Dockerfile index e8627be..1744e04 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Install dependencies only when needed -FROM node:16.13.1-alpine AS deps +FROM node:16.20.2-alpine AS deps WORKDIR /app RUN apk add --no-cache libc6-compat COPY package.json yarn.lock .yarnrc.yml . @@ -11,14 +11,14 @@ COPY packages/web/package.json ./packages/web/package.json RUN yarn --immutable # Rebuild the source code only when needed -FROM node:16.13.1-alpine AS builder +FROM node:16.20.2-alpine AS builder WORKDIR /app COPY . . COPY --from=deps /app/node_modules ./node_modules RUN yarn build && yarn workspaces focus --all --production # Production image -FROM node:16.13.1-alpine AS runner +FROM node:16.20.2-alpine AS runner WORKDIR /app ENV NODE_ENV production diff --git a/packages/api/package.json b/packages/api/package.json index 92515cf..9e9cc19 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -49,7 +49,7 @@ "@types/bunyan-format": "0.2.4", "@types/jest": "27.4.0", "@types/jsonwebtoken": "8.5.8", - "@types/node": "16.11.17", + "@types/node": "16.18.99", "jest": "27.4.5", "nock": "13.2.4", "ts-jest": "27.1.4", diff --git a/packages/shared/package.json b/packages/shared/package.json index 3e64744..9f11214 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@acot/tsconfig": "0.1.0", - "@types/node": "16.11.17", + "@types/node": "16.18.99", "npm-run-all": "4.1.5", "ts-node": "10.4.0", "typescript": "4.5.4", diff --git a/packages/types/package.json b/packages/types/package.json index dbd68b6..4bed1d2 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -32,7 +32,7 @@ "devDependencies": { "@acot/tsconfig": "0.1.0", "@acot/types": "0.0.16", - "@types/node": "16.11.17", + "@types/node": "16.18.99", "npm-run-all": "4.1.5", "ts-node": "10.4.0", "typescript": "4.5.4", diff --git a/packages/web/package.json b/packages/web/package.json index 32646d0..5eec0e0 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -35,7 +35,7 @@ "@storybook/addon-essentials": "6.4.22", "@storybook/addon-links": "6.4.22", "@storybook/react": "6.4.22", - "@types/node": "16.11.17", + "@types/node": "16.18.99", "@types/react": "17.0.38", "@types/react-dom": "17.0.11", "@vitejs/plugin-react": "1.3.2",