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/Dockerfile.unified
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# ------------------------------------------------------------------------------
# Stage 1: Build Web Frontend
# ------------------------------------------------------------------------------
FROM --platform=$BUILDPLATFORM oven/bun:1.3.14-alpine AS web-builder
FROM --platform=$BUILDPLATFORM oven/bun:1.4.3-alpine AS web-builder

WORKDIR /build

Expand Down Expand Up @@ -47,7 +47,7 @@
# `bun build --compile --target`, so multi-arch builds never touch qemu here.
# Uses the Debian (glibc) Bun image so the produced binary matches the glibc
# distroless/cc runtime below (the -alpine image would emit a musl binary).
FROM --platform=$BUILDPLATFORM oven/bun:1.3.14 AS server-builder
FROM --platform=$BUILDPLATFORM oven/bun:1.4.3 AS server-builder

ARG TARGETARCH

Expand Down Expand Up @@ -98,7 +98,7 @@
VOLUME ["/data"]

# Environment (only the vars the unified binary actually reads).
ENV DATA_DIR=/data \

Check warning on line 101 in docker/Dockerfile.unified

View workflow job for this annotation

GitHub Actions / build

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "GEMINI_API_KEY") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

Check warning on line 101 in docker/Dockerfile.unified

View workflow job for this annotation

GitHub Actions / Docker Build Test

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "GEMINI_API_KEY") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
METICULOUS_IP=meticulous.local \
GEMINI_API_KEY="" \
STORAGE_BACKEND=json \
Expand Down
Loading