My Project structure
/github.com/user
- libraries
- services
- service-api-signup
- Dockerfile
- main.go
- service-api-second
- ...
- vendor
Docker file inside service-api-signup
FROM golang
COPY . /go/src/github.com/user/services/service-api-signup
# need to copy all the dependencies on vendor to /go/src/github.com/..
How can copy all my dependencies on vendor and libraries folder to go path on docker image to build ? (need to copy from parent directory and build)
Any way to setup my development environment ?
Thanks.