diff --git a/debian/Dockerfile b/debian/Dockerfile index cb3822e141dec489dd35127dc412bb4462565f84..b4c72a4cf317d87c16e005dca14bfff3407ce957 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM node:16.19.1-bullseye-slim@sha256:436e2855e142a6e29b9b2bfd72d7b8fc661509bdaf886d3bad44f791ba2c1eeb AS builder +FROM --platform=$BUILDPLATFORM node:16.19.1-bullseye-slim@sha256:15ea844ec458ab40d10cd469352b86d82e16c3919fd1660bbfbec565fb6853a5 AS builder # Build arguments to change source url, branch or tag ARG CODIMD_REPOSITORY @@ -30,7 +30,7 @@ RUN --mount=type=cache,sharing=locked,target=/tmp/.yarn \ yarn install --production=false --frozen-lockfile --network-timeout 1000000 --prefer-offline RUN yarn run build -FROM node:16.19.1-bullseye-slim@sha256:436e2855e142a6e29b9b2bfd72d7b8fc661509bdaf886d3bad44f791ba2c1eeb AS modules-installer +FROM node:16.19.1-bullseye-slim@sha256:15ea844ec458ab40d10cd469352b86d82e16c3919fd1660bbfbec565fb6853a5 AS modules-installer WORKDIR /hedgedoc ENV NODE_ENV=production @@ -46,7 +46,7 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \ RUN --mount=type=cache,sharing=locked,target=/tmp/.yarn \ yarn install --production=true --frozen-lockfile --network-timeout 1000000 --prefer-offline -FROM node:16.19.1-bullseye-slim@sha256:436e2855e142a6e29b9b2bfd72d7b8fc661509bdaf886d3bad44f791ba2c1eeb AS app +FROM node:16.19.1-bullseye-slim@sha256:15ea844ec458ab40d10cd469352b86d82e16c3919fd1660bbfbec565fb6853a5 AS app WORKDIR /hedgedoc ARG UID=10000