fix(frontend): .env reaches the build, runtime image without it; eslint + prettier as an option #1

Merged
hh merged 3 commits from deploy-scheme into main 2026-10-08 18:46:04 +00:00
Showing only changes of commit 5e449a560b - Show all commits
@@ -25,12 +25,15 @@ RUN bun --bun run build
FROM oven/bun:alpine AS runtime
ENV NODE_ENV=production
# The cache mount only holds files; without the variable bun caches into
# ~/.bun inside the image.
ENV BUN_INSTALL_CACHE_DIR=/bun-cache
WORKDIR /app
COPY package.json bun.lock* ./
RUN --mount=type=cache,target=/bun-cache,env=BUN_INSTALL_CACHE_DIR bun install --frozen-lockfile --production
RUN --mount=type=cache,target=/bun-cache bun install --frozen-lockfile --production
COPY --from=builder /app/build ./build