From 25cba0e18d63015cb6a77160a91a374060584732 Mon Sep 17 00:00:00 2001 From: Arcane Date: Tue, 21 Jul 2026 15:07:36 +0000 Subject: [PATCH] UI: Port 80 + lucide-react --- docker/ui/Dockerfile | 5 +++-- docker/ui/package.json | 7 ++++--- docker/ui/vite.config.js | 3 ++- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/docker/ui/Dockerfile b/docker/ui/Dockerfile index 85166eb..811b1e9 100644 --- a/docker/ui/Dockerfile +++ b/docker/ui/Dockerfile @@ -5,10 +5,11 @@ WORKDIR /app RUN apk add --no-cache curl COPY package.json package-lock.json* ./ -RUN npm ci --only=production 2>/dev/null || npm install --only=production +RUN npm ci 2>/dev/null || npm install COPY . . EXPOSE 80 -CMD ["vite", "--host", "0.0.0.0", "--port", "80"] +CMD ["npm", "run", "dev"] + diff --git a/docker/ui/package.json b/docker/ui/package.json index 6a4847b..fd7439e 100644 --- a/docker/ui/package.json +++ b/docker/ui/package.json @@ -4,15 +4,15 @@ "description": "Rippy Web UI", "type": "module", "scripts": { - "dev": "vite", + "dev": "vite --port 80", "build": "vite build", "preview": "vite preview" }, "dependencies": { "axios": "^1.7.7", + "lucide-react": "^0.453.0", "react": "^18.3.1", "react-dom": "^18.3.1", - "react-icons": "^5.3.0", "zustand": "^5.0.0" }, "devDependencies": { @@ -21,8 +21,9 @@ "@vitejs/plugin-react": "^4.3.3", "autoprefixer": "^10.4.20", "postcss": "^8.4.47", - "tailwindcss": "^3.4.14", + "tailwindcss": "^3.4.4", "vite": "^5.4.10" }, "packageManager": "npm@10.8.0" } + diff --git a/docker/ui/vite.config.js b/docker/ui/vite.config.js index e0cb94a..fbc9a4f 100644 --- a/docker/ui/vite.config.js +++ b/docker/ui/vite.config.js @@ -5,10 +5,11 @@ export default defineConfig({ plugins: [react()], server: { host: '0.0.0.0', - port: 5173 + port: 80 }, build: { outDir: 'dist', sourcemap: false } }) +