Refactor Docker setup for minimal image and update build scripts; adjust static asset serving in production
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m0s

This commit is contained in:
Cameron Redmore 2025-08-08 17:02:32 +01:00
parent 363e1540e0
commit 20d6a8d577
No known key found for this signature in database
6 changed files with 47 additions and 21 deletions

View file

@ -1,4 +1,4 @@
import { defineConfig } from 'vite'
import { defineConfig } from 'vite'
import tailwindcss from '@tailwindcss/vite'
import Icons from 'unplugin-icons/vite'
@ -13,4 +13,16 @@ export default defineConfig({
},
})
],
server: {
port: 5173,
host: 'localhost',
proxy: {
// Proxy the backend WebSocket/API on /music to the Bun server
'/music': {
target: 'http://localhost:3000',
changeOrigin: true,
ws: true,
},
},
},
})