chore(frontend): migrate toolchain from pnpm to bun

This commit is contained in:
2026-03-08 14:41:36 +00:00
parent 8c0637c518
commit 2ad814334f
13 changed files with 945 additions and 9209 deletions

View File

@@ -1,6 +1,8 @@
services:
web:
build: ./frontend/
build:
context: ./frontend/
target: builder
# image: ghcr.io/alex-wiesner/voyage-frontend:latest
container_name: voyage-frontend
restart: unless-stopped
@@ -15,8 +17,8 @@ services:
- server
volumes:
- ./frontend:/app
- pnpm_store:/pnpm-store
command: sh -c "mkdir -p /pnpm-store && chown -R node:node /pnpm-store && su node -c 'pnpm config set store-dir /pnpm-store && pnpm install --frozen-lockfile && pnpm exec vite dev --host 0.0.0.0 --port 3000 --strictPort'"
- bun_cache:/bun-cache
command: sh -c "mkdir -p /bun-cache && chown -R node:node /bun-cache && su node -c 'BUN_INSTALL_CACHE_DIR=/bun-cache bun install --frozen-lockfile && bun run vite dev --host 0.0.0.0 --port 3000 --strictPort'"
db:
image: postgis/postgis:16-3.5
@@ -57,4 +59,4 @@ services:
volumes:
postgres_data:
voyage_media:
pnpm_store:
bun_cache: