feat: implement select component for dropdown functionality feat: create tooltip component for enhanced user interaction feat: add TechStackSection to display technology stack information feat: implement HealthWidget to monitor server health status feat: create AppShell layout for consistent application structure feat: add SettingsDialog for user preferences management feat: implement list helpers for managing list data feat: create overview data fetching for lists feat: add view mode preferences for dashboard layout feat: implement search functionality for filtering lists feat: add theme management for light and dark modes feat: create utility functions for class name management chore: configure SvelteKit with static adapter and Vite chore: add favicon for branding chore: set up Vite configuration with Tailwind CSS and proxy settings
35 lines
590 B
Docker
35 lines
590 B
Docker
FROM node:20-alpine AS webui-builder
|
|
WORKDIR /webui
|
|
COPY webui/package*.json ./
|
|
RUN npm install
|
|
COPY webui/ .
|
|
RUN npm run build
|
|
|
|
FROM node:20-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy package files
|
|
COPY package*.json ./
|
|
|
|
# Install dependencies
|
|
RUN npm install
|
|
|
|
# Copy source code
|
|
COPY . .
|
|
|
|
# Build TypeScript
|
|
RUN npm run build
|
|
|
|
# Built webui, served by webRoutes.ts from ./web (sibling of dist/)
|
|
COPY --from=webui-builder /webui/build ./web
|
|
|
|
# Create data directory for SQLite
|
|
RUN mkdir -p /data
|
|
|
|
# Expose port
|
|
EXPOSE 3000
|
|
|
|
# Start the application
|
|
CMD ["npm", "start"]
|