Skip to content
Merged
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
12 changes: 10 additions & 2 deletions debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,20 @@ ARG BUILD_PLATFORM=linux/amd64
ARG PYTHON_VERSION=3.14
ARG OS_VERSION=trixie
ARG NODE_VERSION=24
ARG PNPM_VERSION=latest-10

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

ARG INVENIO_WEBPACKEXT_NPM_PKG_CLS=pynpm:PNPMPackage

FROM --platform=${BUILD_PLATFORM} python:${PYTHON_VERSION}-${OS_VERSION}

LABEL org.opencontainers.image.source=https://github.com/inveniosoftware/docker-invenio

# ARGs declared before FROM are only global defaults. Redeclare build args in
# the stage where they are used so passed values are in scope:
# https://docs.docker.com/build/building/variables/#scoping
ARG NODE_VERSION
ARG PNPM_VERSION
ARG INVENIO_WEBPACKEXT_NPM_PKG_CLS

ENV \
WORKING_DIR=/opt/invenio \
INVENIO_INSTANCE_PATH=/opt/invenio/var/instance \
Expand Down Expand Up @@ -74,10 +83,9 @@ RUN \
fonts-dejavu \
locales \
nodejs \
npm \
Comment thread
fenekku marked this conversation as resolved.
&& \
# Install pnpm
npm install -g pnpm@latest-10
npm install -g pnpm@${PNPM_VERSION}

# Setup uv
# From https://docs.astral.sh/uv/guides/integration/docker/
Expand Down