diff options
| author | IwanIDev <iwan@iwani.dev> | 2026-03-04 17:33:28 +0000 |
|---|---|---|
| committer | IwanIDev <iwan@iwani.dev> | 2026-03-04 17:33:28 +0000 |
| commit | 4c4f5ffc6b72732f516aefc6756c848330c106e7 (patch) | |
| tree | 6178f2826b2dd1b9922c9dc08273e89c3d9b331d /Dockerfile | |
| parent | 0bc5290fd6f34992584d5ad20a1daeb6d3f795db (diff) | |
Enhance Docker setup: add QEMU configuration and improve Dockerfile comments for clarity
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ -# Build stage -FROM oven/bun:latest AS build +# Build stage - runs on native platform for speed +FROM --platform=$BUILDPLATFORM oven/bun:latest AS build WORKDIR /app @@ -9,7 +9,7 @@ RUN bun install --frozen-lockfile COPY . . RUN bun run build -# Production stage +# Production stage - targets the deployment platform FROM nginx:alpine COPY --from=build /app/dist /usr/share/nginx/html |
