-
Notifications
You must be signed in to change notification settings - Fork 303
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The Docker build for the dashboard fails with the error sh: tsc: not found. This is because the TypeScript compiler is not available in the build environment.
To Reproduce
Steps to reproduce the behavior:
- Navigate to the
dashboarddirectory. - Run
docker build -t dashboard-test .
Expected behavior
The Docker image should build successfully locally.
Additional context
Error Logs
> [frontend-builder 6/6] RUN npm run build:
0.300
0.300 > semantic-router-dashboard@1.0.0 build
0.300 > tsc && vite build
0.300
0.303 sh: tsc: not found
Relevant Dockerfile section
# Build frontend
FROM node:18-alpine AS frontend-builder
WORKDIR /app/frontend
COPY frontend/package*.json ./
RUN npm ci
COPY frontend/ ./
RUN npm run buildMetadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
In progress