Install dep
$ go get -v github.com/golang/dep/cmd/dep
Install the project's dependencies
$ dep ensure
Build docker API
$ CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o build/api
Start Postgres
$ docker run --name postgres -d -p 5432:5432 --env 'DB_USER=test' --env 'DB_PASS=test' --env 'DB_NAME=test' sameersbn/postgresql:9.6-2
Start API
$ go run main.go
Build docker
$ docker build --no-cache -t img-task-go .
Start docker
$ docker run --net=host -it -p 3000:3000 img-task-go