Spaces:
Running
Running
fix: relative import correction
Browse files- Dockerfile +2 -2
- viewer/src/components/layout/Layout.tsx +1 -1
Dockerfile
CHANGED
@@ -9,8 +9,8 @@ COPY viewer/ .
|
|
9 |
# Install dependencies
|
10 |
RUN bun install --frozen-lockfile
|
11 |
|
12 |
-
# Build the application
|
13 |
-
RUN bun run build
|
14 |
|
15 |
# Production stage
|
16 |
FROM nginx:alpine
|
|
|
9 |
# Install dependencies
|
10 |
RUN bun install --frozen-lockfile
|
11 |
|
12 |
+
# Build the application with more verbose output
|
13 |
+
RUN bun run build || (echo "Build failed. Check the error messages above." && exit 1)
|
14 |
|
15 |
# Production stage
|
16 |
FROM nginx:alpine
|
viewer/src/components/layout/Layout.tsx
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import React, { useState, useEffect } from "react";
|
2 |
-
import URDFViewer from "
|
3 |
import { Sidebar, SidebarBody } from "@/components/ui/sidebar";
|
4 |
import { LayoutDashboard, PanelLeft, RotateCcw } from "lucide-react";
|
5 |
import { useUrdf } from "@/hooks/useUrdf";
|
|
|
1 |
import React, { useState, useEffect } from "react";
|
2 |
+
import URDFViewer from "@/components/URDFViewer";
|
3 |
import { Sidebar, SidebarBody } from "@/components/ui/sidebar";
|
4 |
import { LayoutDashboard, PanelLeft, RotateCcw } from "lucide-react";
|
5 |
import { useUrdf } from "@/hooks/useUrdf";
|