From 4c4f5ffc6b72732f516aefc6756c848330c106e7 Mon Sep 17 00:00:00 2001 From: IwanIDev Date: Wed, 4 Mar 2026 17:33:28 +0000 Subject: Enhance Docker setup: add QEMU configuration and improve Dockerfile comments for clarity --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index cfb3e0a..3530ae0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 -- cgit