To install dependencies:
bun installTo run:
bun run index.tsThis project was created using bun init in bun v1.2.5. Bun is a fast all-in-one JavaScript runtime.
docker build -t lofi-radio .
docker run -d
-p 5634:5634
-v $(pwd)/songs:/app/songs
-v lofi-data:/app/data
--name lofi-radio
lofi-radio
To see the logs and run it in the foreground, you have two options:
Remove the -d flag to run in foreground:
docker run
-p 5634:5634
-v $(pwd)/songs:/app/songs
-v lofi-data:/app/data
--name lofi-radio
lofi-radio
Or if you want to keep it running in detached mode, you can:
docker logs lofi-radio
docker logs -f lofi-radio To manage the container:
docker stop lofi-radio
docker start lofi-radio
docker rm lofi-radio
docker ps
docker ps -a
Try stopping the current container and running it without -d to see the logs in real-time: docker stop lofi-radio docker rm lofi-radio