Skip to content

Commit

Permalink
Update Node.js to v20.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and mrtnzlml committed Sep 20, 2023
1 parent e7a3085 commit 88451f8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions src/abacus-backoffice/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Install dependencies only when needed
FROM node:20.6.1-alpine AS deps
FROM node:20.7.0-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json ./
RUN yarn install # --immutable

# Rebuild the source code only when needed
FROM node:20.6.1-alpine AS builder
FROM node:20.7.0-alpine AS builder
WORKDIR /app
COPY . .
COPY --from=deps /app/node_modules ./node_modules
Expand All @@ -16,7 +16,7 @@ RUN --mount=type=secret,id=SENTRY_AUTH_TOKEN \
yarn build && yarn install # --immutable

# Production image, copy all the files and run next
FROM node:20.6.1-alpine AS runner
FROM node:20.7.0-alpine AS runner
WORKDIR /app

ENV NODE_ENV production
Expand Down
6 changes: 3 additions & 3 deletions src/abacus-kochka/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Install dependencies only when needed
FROM node:20.6.1-alpine AS deps
FROM node:20.7.0-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json ./
RUN yarn install # --immutable

# Rebuild the source code only when needed
FROM node:20.6.1-alpine AS builder
FROM node:20.7.0-alpine AS builder
WORKDIR /app
COPY . .
COPY --from=deps /app/node_modules ./node_modules
Expand All @@ -16,7 +16,7 @@ RUN --mount=type=secret,id=SENTRY_AUTH_TOKEN \
yarn build && yarn install # --immutable

# Production image, copy all the files and run next
FROM node:20.6.1-alpine AS runner
FROM node:20.7.0-alpine AS runner
WORKDIR /app

ENV NODE_ENV production
Expand Down
6 changes: 3 additions & 3 deletions src/abacus-tools/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# Install dependencies only when needed
FROM node:20.6.1-alpine AS deps
FROM node:20.7.0-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json ./
RUN yarn install # --immutable

# Rebuild the source code only when needed
FROM node:20.6.1-alpine AS builder
FROM node:20.7.0-alpine AS builder
WORKDIR /app
COPY . .
COPY --from=deps /app/node_modules ./node_modules
RUN yarn build && yarn install # --immutable

# Production image, copy all the files and run next
FROM node:20.6.1-alpine AS runner
FROM node:20.7.0-alpine AS runner
WORKDIR /app

ENV NODE_ENV production
Expand Down
6 changes: 3 additions & 3 deletions src/mrtnzlml-meta/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Install dependencies only when needed
FROM node:20.6.1-alpine AS deps
FROM node:20.7.0-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json ./
RUN yarn install # --immutable

# Rebuild the source code only when needed
FROM node:20.6.1-alpine AS builder
FROM node:20.7.0-alpine AS builder
WORKDIR /app
COPY . .
COPY --from=deps /app/node_modules ./node_modules
Expand All @@ -16,7 +16,7 @@ RUN --mount=type=secret,id=SENTRY_AUTH_TOKEN \
yarn build && yarn install # --immutable

# Production image, copy all the files and run Docusaurus
FROM node:20.6.1-alpine AS runner
FROM node:20.7.0-alpine AS runner
WORKDIR /app

ENV NODE_ENV production
Expand Down

0 comments on commit 88451f8

Please sign in to comment.