Skip to content

Commit

Permalink
Update node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
synzen committed Dec 6, 2024
1 parent dddcb9d commit 9258699
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions services/backend-api/dockerfiles/web/client.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:21 AS build
FROM node:22 AS build
WORKDIR /usr/src/app

COPY package*.json ./
Expand All @@ -8,7 +8,7 @@ RUN npm install
COPY . ./

# Alpine will cause the app to mysteriously exit when attempting to register @fastify/secure-session
FROM node:21-slim AS prod
FROM node:22-slim AS prod

ARG VITE_FRESHDESK_WIDGET_ID
ARG VITE_PADDLE_PW_AUTH
Expand Down
6 changes: 3 additions & 3 deletions services/backend-api/dockerfiles/web/mixed.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:21 AS build
FROM node:22 AS build
WORKDIR /usr/src/app

COPY package*.json ./
Expand All @@ -8,7 +8,7 @@ RUN npm install && cd client && npm install

COPY . ./

FROM node:21 AS build-prod
FROM node:22 AS build-prod


ARG VITE_FRESHDESK_WIDGET_ID
Expand Down Expand Up @@ -38,7 +38,7 @@ RUN npm prune --production
RUN /usr/local/bin/node-prune

# Alpine will cause the app to mysteriously exit when attempting to register @fastify/secure-session
FROM node:21-slim AS prod
FROM node:22-slim AS prod

RUN apt-get update && apt-get install -y wget
WORKDIR /usr/src/app
Expand Down
6 changes: 3 additions & 3 deletions services/bot-presence/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18 AS build
FROM node:20 AS build

WORKDIR /usr/src/app

Expand All @@ -8,7 +8,7 @@ RUN npm install

COPY . ./

FROM node:18 AS build-prod
FROM node:20 AS build-prod

WORKDIR /usr/src/app
COPY --from=build /usr/src/app ./
Expand All @@ -21,7 +21,7 @@ RUN curl -sf https://gobinaries.com/tj/node-prune | sh
RUN npm prune --production
RUN /usr/local/bin/node-prune

FROM node:18-alpine AS prod
FROM node:20-alpine AS prod

WORKDIR /usr/src/app

Expand Down
4 changes: 2 additions & 2 deletions services/discord-rest-listener/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18 AS build
FROM node:22 AS build

RUN apt install curl

Expand All @@ -23,7 +23,7 @@ RUN curl -sf https://gobinaries.com/tj/node-prune | sh
RUN npm prune --production
RUN /usr/local/bin/node-prune

FROM node:18-alpine AS prod
FROM node:22-alpine AS prod

WORKDIR /usr/src/app

Expand Down
4 changes: 2 additions & 2 deletions services/feed-requests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:21 AS build
FROM node:22 AS build

WORKDIR /usr/src/app

Expand All @@ -24,7 +24,7 @@ RUN curl -sf https://gobinaries.com/tj/node-prune | sh
RUN npm prune --production
RUN /usr/local/bin/node-prune

FROM node:21-alpine AS prod
FROM node:22-alpine AS prod

WORKDIR /usr/src/app

Expand Down
4 changes: 2 additions & 2 deletions services/user-feeds/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20 AS build
FROM node:22 AS build

WORKDIR /usr/src/app

Expand All @@ -24,7 +24,7 @@ RUN curl -sf https://gobinaries.com/tj/node-prune | sh
RUN npm prune --production
RUN /usr/local/bin/node-prune

FROM node:20-alpine AS prod
FROM node:22-alpine AS prod

WORKDIR /usr/src/app

Expand Down

0 comments on commit 9258699

Please sign in to comment.