All checks were successful
Build and Push Frontend / build (push) Successful in 23s
Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
22 lines
333 B
Docker
22 lines
333 B
Docker
FROM oven/bun:1.3.6-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy package files
|
|
COPY package.json bun.lock ./
|
|
|
|
# Install dependencies (including devDependencies for build)
|
|
RUN bun install --frozen-lockfile
|
|
|
|
# Copy source code
|
|
COPY . .
|
|
|
|
# Build the React bundle
|
|
RUN bun run build
|
|
|
|
# Expose port
|
|
EXPOSE 3001
|
|
|
|
# Start server
|
|
CMD ["bun", "run", "start"]
|