Add Docker support and implement Bun for dependency management
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1m25s

- Introduced .dockerignore to exclude unnecessary files from Docker context.
- Updated Dockerfile to use Bun for building and running the application.
- Removed entrypoint.sh as it is no longer needed.
- Modified build-and-dockerise.yml to set up Bun and install dependencies.
- Enhanced index.html with improved structure and hover effects.
- Updated client.ts to include tooltips for music display.
- Implemented caching in server.ts for Last.fm data.
- Added custom styles for hover effects and tooltips in style.css.
This commit is contained in:
Cameron Redmore 2025-08-08 11:18:39 +01:00
parent be5a61185b
commit 214982649f
No known key found for this signature in database
9 changed files with 272 additions and 107 deletions

View file

@ -7,7 +7,8 @@
"start": "bun src/server.ts",
"dev": "concurrently \"bun run --hot src/server.ts\" \"vite build --watch\"",
"build": "vite build",
"preview": "vite preview"
"preview": "vite preview",
"prod": "NODE_ENV=production bun src/server.ts"
},
"devDependencies": {
"@iconify/json": "^2.2.367",