diff --git a/webapp/Dockerfile b/webapp/Dockerfile index d60c19c86..b12e58b63 100644 --- a/webapp/Dockerfile +++ b/webapp/Dockerfile @@ -1,4 +1,4 @@ -FROM node:24.9.0-alpine AS styleguide +FROM node:25.1.0-alpine AS styleguide RUN apk --no-cache add git python3 make g++ RUN mkdir -p /app WORKDIR /app @@ -6,7 +6,7 @@ COPY styleguide . RUN yarn install --production=false --frozen-lockfile --non-interactive RUN yarn run build:lib -FROM node:20.12.1-alpine AS base +FROM node:25.1.0-alpine AS base LABEL org.label-schema.name="ocelot.social:webapp" LABEL org.label-schema.description="Web Frontend of the Social Network Software ocelot.social" LABEL org.label-schema.usage="https://github.com/Ocelot-Social-Community/Ocelot-Social/blob/master/README.md" diff --git a/webapp/Dockerfile.maintenance b/webapp/Dockerfile.maintenance index 2ad52c176..faf6dc9e8 100644 --- a/webapp/Dockerfile.maintenance +++ b/webapp/Dockerfile.maintenance @@ -8,7 +8,7 @@ LABEL org.label-schema.vendor="ocelot.social Community" LABEL org.label-schema.schema-version="1.0" LABEL maintainer="devops@ocelot.social" -FROM node:24.9.0-alpine AS styleguide +FROM node:25.1.0-alpine AS styleguide RUN apk --no-cache add git python3 make g++ RUN mkdir -p /app WORKDIR /app @@ -16,7 +16,7 @@ COPY styleguide . RUN yarn install --production=false --frozen-lockfile --non-interactive RUN yarn run build:lib -FROM node:20.12.1-alpine AS build +FROM node:25.1.0-alpine AS build ENV NODE_ENV="production" RUN apk --no-cache add git python3 make g++ bash jq COPY --from=styleguide ./app/ /styleguide/