Files
aiworker-frontend/Dockerfile
Hector Ros 3fc9b01940
All checks were successful
Build and Push Frontend / build (push) Successful in 22s
Fix frontend build: compile React bundle properly
- Build TypeScript/React to JavaScript bundle
- Serve compiled main.js and main.css
- Update HTML to load compiled assets
- Add build step to Dockerfile

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2026-01-20 01:34:38 +01:00

22 lines
308 B
Docker

FROM oven/bun:1.3.6-alpine
WORKDIR /app
# Copy package files
COPY package.json bun.lock ./
# Install dependencies
RUN bun install --frozen-lockfile --production
# Copy source code
COPY . .
# Build the React bundle
RUN bun run build
# Expose port
EXPOSE 3001
# Start server
CMD ["bun", "run", "start"]