1. Add python3 installation to Dockerfile
2. Add tailscale optional support
This commit is contained in:
parent
7d4294f906
commit
5d1f90fb46
2 changed files with 8 additions and 0 deletions
|
|
@ -5,9 +5,11 @@ WORKDIR /app
|
||||||
|
|
||||||
# Install system dependencies required for Bun and Neutralino
|
# Install system dependencies required for Bun and Neutralino
|
||||||
RUN apk add --no-cache wget curl bash
|
RUN apk add --no-cache wget curl bash
|
||||||
|
RUN apk add --no-cache python3 make g++ && ln -sf python3 /usr/bin/python
|
||||||
|
|
||||||
# Install Bun
|
# Install Bun
|
||||||
RUN curl -fsSL https://bun.sh/install | bash
|
RUN curl -fsSL https://bun.sh/install | bash
|
||||||
|
|
||||||
# Add Bun to PATH so it can be used in subsequent steps
|
# Add Bun to PATH so it can be used in subsequent steps
|
||||||
ENV PATH="/root/.bun/bin:${PATH}"
|
ENV PATH="/root/.bun/bin:${PATH}"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,8 +19,14 @@ export default defineConfig(({ mode }) => {
|
||||||
server: {
|
server: {
|
||||||
fs: {
|
fs: {
|
||||||
allow: ['.', 'node_modules'],
|
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: {
|
build: {
|
||||||
outDir: 'dist',
|
outDir: 'dist',
|
||||||
emptyOutDir: true,
|
emptyOutDir: true,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue