Got docker image to build

This commit is contained in:
2026-01-13 16:10:43 -06:00
parent 4bdbb3feb1
commit 8acaa57821
2 changed files with 16 additions and 7 deletions

View File

@@ -1,20 +1,20 @@
# syntax=docker/dockerfile:1
FROM oven/bun:alpine AS base
# Builder stage - do everything here
# Builder stage
FROM base AS builder
RUN apk add --no-cache libc6-compat
WORKDIR /app
# Copy all source code first
# Copy source code (node_modules excluded via .dockerignore)
COPY . .
# Install dependencies (this will create proper workspace structure)
# Install all dependencies
RUN bun install
# Build the Next.js app
# Build with proper environment
ENV NEXT_TELEMETRY_DISABLED=1
ENV SKIP_ENV_VALIDATION=1
ENV NODE_ENV=production
RUN bun run build --filter=@gib/next
# Runner stage