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 Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
&& install -Dm755 target/release/keycast_api /out/keycast_api \
&& install -Dm755 target/release/keycast_signer /out/keycast_signer

FROM oven/bun:1.3.9@sha256:856da45d07aeb62eb38ea3e7f9e1794c0143a4ff63efb00e6c4491b627e2a521 AS web-builder
FROM oven/bun:1.4.2@sha256:9114c058aeae42162ee16dd5084b95fe9473970bb6bcb5b232ab1630f0546895 AS web-builder
ARG KEYCAST_BUILD_REVISION=development
ENV KEYCAST_BUILD_REVISION=${KEYCAST_BUILD_REVISION}
WORKDIR /app
Expand All @@ -28,7 +28,7 @@ RUN --mount=type=cache,target=/root/.bun/install/cache bun install --frozen-lock
COPY web ./
RUN bun run check && bun run build

FROM oven/bun:1.3.9@sha256:856da45d07aeb62eb38ea3e7f9e1794c0143a4ff63efb00e6c4491b627e2a521 AS web-runtime-deps
FROM oven/bun:1.4.2@sha256:9114c058aeae42162ee16dd5084b95fe9473970bb6bcb5b232ab1630f0546895 AS web-runtime-deps
WORKDIR /app
COPY web/package.json web/bun.lockb ./
RUN bun install --production --frozen-lockfile
Expand Down