# Pull the Image
docker pull docker.pkg.github.com/lianglouise/image_repo/image-repo:latest
# Run the Image
docker run -it --rm -p 8080:8080 -v "$(pwd)":/app/images --name image-repo image-repo
# Or use docker-compose
docker-compose up
Run directly with go command
# install the packages required
go get -v github.com/gorilla/mux gorm.io/gorm gorm.io/driver/sqlite
git clone https://github.com/LiangLouise/image_repo.git
cd image_repo
go run .
Test
SignUp
curl -X POST -H "Content-Type: application/json" -d '{"name": "testUser"}' http://0.0.0.0:8080/signup