From 5d1f90fb468d5676ab6875a49d0ed3d83c7bc7b7 Mon Sep 17 00:00:00 2001 From: david011011 Date: Wed, 25 Feb 2026 10:57:47 +0200 Subject: [PATCH] 1. Add python3 installation to Dockerfile 2. Add tailscale optional support --- Dockerfile | 2 ++ vite.config.js | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9b1b487..d5ef27c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,11 @@ WORKDIR /app # Install system dependencies required for Bun and Neutralino RUN apk add --no-cache wget curl bash +RUN apk add --no-cache python3 make g++ && ln -sf python3 /usr/bin/python # Install Bun RUN curl -fsSL https://bun.sh/install | bash + # Add Bun to PATH so it can be used in subsequent steps ENV PATH="/root/.bun/bin:${PATH}" diff --git a/vite.config.js b/vite.config.js index 87619b1..13d00e0 100644 --- a/vite.config.js +++ b/vite.config.js @@ -19,8 +19,14 @@ export default defineConfig(({ mode }) => { server: { fs: { allow: ['.', 'node_modules'], + // host: true, + // allowedHosts: [''], // e.g. pi5.tailf5f622.ts.net }, }, + // preview: { + // host: true, + // allowedHosts: [''], // e.g. pi5.tailf5f622.ts.net + // }, build: { outDir: 'dist', emptyOutDir: true,