1. Add python3 installation to Dockerfile

2. Add tailscale optional support
This commit is contained in:
david011011 2026-02-25 10:57:47 +02:00
parent 7d4294f906
commit 5d1f90fb46
2 changed files with 8 additions and 0 deletions

View file

@ -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}"

View file

@ -19,8 +19,14 @@ export default defineConfig(({ mode }) => {
server: {
fs: {
allow: ['.', 'node_modules'],
// host: true,
// allowedHosts: ['<device_specific_tailscale_magic_dns_name>'], // e.g. pi5.tailf5f622.ts.net
},
},
// preview: {
// host: true,
// allowedHosts: ['<device_specific_tailscale_magic_dns_name>'], // e.g. pi5.tailf5f622.ts.net
// },
build: {
outDir: 'dist',
emptyOutDir: true,