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:20.19.5-bullseye-slim@sha256:0301ca331a12fbc04ba75c8b6f1e73a54e6f2704c4c68be7207f03703342ad87 AS builder
FROM --platform=$BUILDPLATFORM docker.io/library/node:20.19.5-bullseye-slim@sha256:1514f5e0ec2de168338689dfdc9341f691c73005f1e7e10e9956844890554484 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:20.19.5-bullseye-slim@sha256:0301ca331a12fbc04ba75c8b6f1e73a54e6f2704c4c68be7207f03703342ad87 AS modules-installer
FROM docker.io/library/node:20.19.5-bullseye-slim@sha256:1514f5e0ec2de168338689dfdc9341f691c73005f1e7e10e9956844890554484 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:20.19.5-bullseye-slim@sha256:0301ca331a12fbc04ba75c8b6f1e73a54e6f2704c4c68be7207f03703342ad87 AS app
FROM docker.io/library/node:20.19.5-bullseye-slim@sha256:1514f5e0ec2de168338689dfdc9341f691c73005f1e7e10e9956844890554484 AS app

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