Skip to content

⬆️(docker) upgrade to recommended version #972

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Django impress

# ---- base image to inherit from ----
FROM python:3.12.6-alpine3.20 AS base
FROM python:3.12.10-alpine AS base

# Upgrade pip to its latest release to speed up dependencies installation
RUN python -m pip install --upgrade pip setuptools
Expand Down Expand Up @@ -30,12 +30,13 @@ RUN mkdir /install && \


# ---- mails ----
FROM node:20 AS mail-builder
FROM node:24-alpine AS mail-builder

COPY ./src/mail /mail/app

WORKDIR /mail/app

RUN apk update && apk add --no-cache bash
RUN yarn install --frozen-lockfile && \
yarn build

Expand Down
4 changes: 2 additions & 2 deletions src/frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine AS frontend-deps
FROM node:24-alpine AS frontend-deps

WORKDIR /home/frontend/

Expand Down Expand Up @@ -45,7 +45,7 @@ ENV NEXT_PUBLIC_PUBLISH_AS_MIT=${PUBLISH_AS_MIT}
RUN yarn build

# ---- Front-end image ----
FROM nginxinc/nginx-unprivileged:1.26-alpine AS frontend-production
FROM nginxinc/nginx-unprivileged:1.27-alpine AS frontend-production

# Un-privileged user running the application
ARG DOCKER_USER
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/servers/y-provider/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine AS y-provider-builder
FROM node:24-alpine AS y-provider-builder

WORKDIR /home/frontend/

Expand All @@ -15,7 +15,7 @@ COPY ./src/frontend/servers/y-provider ./servers/y-provider
WORKDIR /home/frontend/servers/y-provider
RUN yarn build

FROM node:20-alpine AS y-provider
FROM node:24-alpine AS y-provider

WORKDIR /home/frontend/

Expand Down
Loading