mirror of
https://github.com/crabwise-ai/crabwalk.git
synced 2026-08-14 09:02:07 +00:00
Add comprehensive workspace exploration functionality allowing users to browse and view files from the host filesystem. This feature enables inspection of AI agent workspace contents directly through the web interface. - Add workspace-fs library for safe file system operations with path validation - Create tRPC workspace router with directory listing and file reading endpoints - Implement workspace UI components with directory tree navigation - Add markdown file viewer with syntax highlighting - Configure Docker volume mounting for ~/.openclaw/workspace access - Update navigation with tab-based switching between Monitor and Workspace views
26 lines
409 B
Docker
26 lines
409 B
Docker
FROM node:22-alpine AS builder
|
|
WORKDIR /app
|
|
|
|
COPY package*.json ./
|
|
RUN npm ci
|
|
|
|
COPY . .
|
|
RUN npm run build
|
|
|
|
FROM node:22-alpine AS runner
|
|
WORKDIR /app
|
|
|
|
ENV NODE_ENV=production
|
|
ENV PORT=3000
|
|
ENV HOST=0.0.0.0
|
|
ENV HOME=/root
|
|
|
|
# Create workspace directory for volume mounting
|
|
RUN mkdir -p /root/.openclaw/workspace
|
|
|
|
COPY --from=builder /app/.output ./.output
|
|
|
|
EXPOSE 3000
|
|
|
|
CMD ["node", ".output/server/index.mjs"]
|