Skip to content
Closed
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
6 changes: 3 additions & 3 deletions debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM docker.io/library/node:24.17.0-bullseye-slim@sha256:f0025a955ae20d6fb94db3db2d88f3851183bacc0b77690502a6a3ccb1aaea56 AS builder
FROM --platform=$BUILDPLATFORM docker.io/library/node:24.17.0-bullseye-slim@sha256:161b226c359b4440e6f4b63a5c4523b794ac09f5ff33e80a7af976a9f5caabd1 AS builder

# Build arguments to change source url, branch or tag
ARG CODIMD_REPOSITORY
Expand Down Expand Up @@ -29,7 +29,7 @@ WORKDIR /hedgedoc
RUN --mount=type=cache,sharing=locked,target=/tmp/.yarn yarn install --immutable
RUN yarn run build

FROM docker.io/library/node:24.17.0-bullseye-slim@sha256:f0025a955ae20d6fb94db3db2d88f3851183bacc0b77690502a6a3ccb1aaea56 AS modules-installer
FROM docker.io/library/node:24.17.0-bullseye-slim@sha256:161b226c359b4440e6f4b63a5c4523b794ac09f5ff33e80a7af976a9f5caabd1 AS modules-installer
WORKDIR /hedgedoc

ENV NODE_ENV=production
Expand All @@ -45,7 +45,7 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \

RUN --mount=type=cache,sharing=locked,target=/tmp/.yarn yarn workspaces focus --production

FROM docker.io/library/node:24.17.0-bullseye-slim@sha256:f0025a955ae20d6fb94db3db2d88f3851183bacc0b77690502a6a3ccb1aaea56 AS app
FROM docker.io/library/node:24.17.0-bullseye-slim@sha256:161b226c359b4440e6f4b63a5c4523b794ac09f5ff33e80a7af976a9f5caabd1 AS app

LABEL org.opencontainers.image.title='HedgeDoc production image(debian)'
LABEL org.opencontainers.image.url='https://hedgedoc.org'
Expand Down