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,