From d42c245c9dd9278b272db709401c90645e2b67e7 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Wed, 25 Jun 2025 15:43:44 +0200 Subject: [PATCH] Fix dockerfile failing build --- frontend/Dockerfile | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 1e8259c..549d9f4 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,20 +1,9 @@ FROM oven/bun:1.0.25-slim as builder WORKDIR /app -# Copy package files -COPY package*.json ./ -COPY bun.lockb ./ +COPY dist dist +COPY nginx.conf /etc/nginx/conf.d/default.conf -# Install dependencies -RUN bun install - -# Copy source files -COPY . . - -# Build the application -RUN bun run build - -# Production stage FROM nginx:alpine COPY --from=builder /app/dist /usr/share/nginx/html COPY nginx.conf /etc/nginx/conf.d/default.conf