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
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
FROM oven/bun:1.3.14-alpine AS build
FROM oven/bun:1.4.0-alpine AS build
WORKDIR /app
COPY package.json bun.lock ./
RUN bun install --frozen-lockfile
COPY . .
RUN bun run build

# Production dependencies only (excludes svelte, vite, tailwindcss, etc.)
FROM oven/bun:1.3.14-alpine AS deps
FROM oven/bun:1.4.0-alpine AS deps
WORKDIR /app
COPY package.json bun.lock ./
RUN bun install --frozen-lockfile --production

FROM oven/bun:1.3.14-alpine
FROM oven/bun:1.4.0-alpine
WORKDIR /app
# Patch OS packages (e.g. the base image's openssl) before installing su-exec,
# so the shipped runtime image carries Alpine's latest security fixes and clears
Expand Down
Loading