Skip to content
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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# ---------- build base ----------
# Pin npm separately because the Node image's bundled npm can lag the project
# package-manager contract and silently ignore strict install-script policy.
FROM node:24.15.0-bookworm-slim@sha256:4e6b70dd6cbfc88c8157ba19aa3d9f9cce6ba4703576d55459e45efcbc9c5f5d AS build-base
FROM node:26.10.0-bookworm-slim@sha256:662933cf47f013bc8e4beb31a6116448427a82057ba7c42c97e4c5ba766504c2 AS build-base
ARG NPM_VERSION=11.16.0
RUN npm install --global "npm@${NPM_VERSION}" \
&& test "$(npm --version)" = "${NPM_VERSION}"
Expand Down Expand Up @@ -40,7 +40,7 @@ COPY . .
RUN npm run build

# ---------- runner ----------
FROM node:24.15.0-bookworm-slim@sha256:4e6b70dd6cbfc88c8157ba19aa3d9f9cce6ba4703576d55459e45efcbc9c5f5d AS runner
FROM node:26.10.0-bookworm-slim@sha256:662933cf47f013bc8e4beb31a6116448427a82057ba7c42c97e4c5ba766504c2 AS runner
WORKDIR /app

# yt-dlp's official Unix zipimport executable is architecture-independent. Pin
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.youtube-pot-provider
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1.7

FROM node:24.15.0-bookworm-slim@sha256:4e6b70dd6cbfc88c8157ba19aa3d9f9cce6ba4703576d55459e45efcbc9c5f5d AS source
FROM node:26.10.0-bookworm-slim@sha256:662933cf47f013bc8e4beb31a6116448427a82057ba7c42c97e4c5ba766504c2 AS source

USER root
RUN apt-get update \
Expand All @@ -20,7 +20,7 @@ RUN --mount=type=cache,target=/home/node/.npm,uid=1000,gid=1000 \
npm ci --no-audit --no-fund
RUN npx tsc

FROM node:24.15.0-bookworm-slim@sha256:4e6b70dd6cbfc88c8157ba19aa3d9f9cce6ba4703576d55459e45efcbc9c5f5d AS runtime
FROM node:26.10.0-bookworm-slim@sha256:662933cf47f013bc8e4beb31a6116448427a82057ba7c42c97e4c5ba766504c2 AS runtime

ENV NODE_ENV=production
USER node
Expand Down
Loading