Refactor Docker setup: remove Bun dependency installation
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m55s

This commit is contained in:
Cameron Redmore 2025-08-08 11:24:50 +01:00
parent 214982649f
commit 1b3ebc3b07
No known key found for this signature in database
3 changed files with 6 additions and 19 deletions

View file

@ -9,10 +9,10 @@ COPY package.json bun.lock* ./
# Install all dependencies (including devDependencies for building)
RUN bun install --frozen-lockfile
# Copy source code
# Copy source code and configuration files
COPY . .
# Build the application
# Build the application with Vite
RUN bun run build
# Production stage
@ -26,7 +26,7 @@ COPY package.json bun.lock* ./
# Install only production dependencies
RUN bun install --frozen-lockfile --production
# Copy built application and server
# Copy built application and server from build stage
COPY --from=builder /app/dist ./dist
COPY src/server.ts ./src/server.ts