chore(frontend): migrate toolchain from pnpm to bun
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user