Fix frontend build: compile React bundle properly
All checks were successful
Build and Push Frontend / build (push) Successful in 22s

- 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>
This commit is contained in:
Hector Ros
2026-01-20 01:34:38 +01:00
parent 137f1fe110
commit 3fc9b01940
3 changed files with 6 additions and 2 deletions

View File

@@ -11,6 +11,9 @@ RUN bun install --frozen-lockfile --production
# Copy source code
COPY . .
# Build the React bundle
RUN bun run build
# Expose port
EXPOSE 3001