Files
aiworker-frontend/Dockerfile
Hector Ros 391bb7e9a8
All checks were successful
Build and Push Frontend / build (push) Successful in 23s
Migrate to Vite for proper production builds with code splitting and optimization
Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2026-01-20 01:47:14 +01:00

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"]