Skip to content
Open
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 docker/relay.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# The enterprise relay alone (T4.10, D81): one bundled file on Node, run as a non-root user. The relay keeps nothing
# but its queue, its admissions and its revocations, all under /data; mount /data read-write and run the root
# filesystem read-only. Build from the repository root: docker build -f docker/relay.Dockerfile -t drop-relay .
FROM node:24-slim@sha256:a5f4366e834695d5f363b920c104953a535d3a9864d1bdf74566a0ebe01daee5 AS build
FROM node:24-slim@sha256:55fb5f5a527ea2c5c4a95f963e48ef90aa38c7b346054fdc8ee9957a2b55d205 AS build
WORKDIR /src
RUN corepack enable
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
Expand All @@ -10,7 +10,7 @@ COPY scripts/bundle.ts ./scripts/bundle.ts
RUN pnpm install --frozen-lockfile
RUN node scripts/bundle.ts --out /out

FROM node:24-slim@sha256:a5f4366e834695d5f363b920c104953a535d3a9864d1bdf74566a0ebe01daee5
FROM node:24-slim@sha256:55fb5f5a527ea2c5c4a95f963e48ef90aa38c7b346054fdc8ee9957a2b55d205
WORKDIR /app
COPY --from=build /out/drop-relay.mjs ./drop-relay.mjs
COPY docker/relay-health.ts ./relay-health.ts
Expand Down
Loading