This is a simple react application which uses the soundcloud API for seraching and playing the tracks.
Local Development using webpack, nodemon for watching changes.
npm run-script devnpm run-script debugnpm startIf you are getting an issue running the application, a common problem is the port is already in use which is 4000
Using bash
lsof -ti:4000 | xargs killCheatsheet commands https://www.digitalocean.com/community/tutorials/how-to-remove-docker-images-containers-and-volumes
# Build
docker build -t soundcloud-player .# Run Container
docker run -p 3501:8080 soundcloud-player
# Keeps running container with -d
docker run -p 3501:8080 -d soundcloud-player#Local Docker Images
docker images -a
# Get container ID
docker ps -a
# Print app output
docker logs <container id>
# Enter the container
docker exec -it <container id> /bin/bash
# Machine IP
docker-machine ip soundcloud-player
# Other Docker Commands
docker stop <container-id>
docker rmi $(docker images -a -q) #delete all images
docker images purge
docker rmi Image Image
docker system prune