initial commit from IBM Cloud example

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2019-06-03 10:42:48 +02:00
commit 4e76f510b3
Signed by: vbatts
GPG key ID: 10937E57733F1362
32 changed files with 1925 additions and 0 deletions

19
Dockerfile Normal file
View file

@ -0,0 +1,19 @@
FROM golang:1.10.3-alpine
# Update packages and install dependency packages for services
RUN apk update && apk add --no-cache bash git
# Change working directory
WORKDIR $GOPATH/src/myappziugv/
# Install dependencies
RUN go get -u github.com/golang/dep/...
RUN go get -u github.com/derekparker/delve/cmd/dlv/...
COPY . ./
RUN dep ensure -v
ENV PORT 8080
ENV GIN_MODE release
EXPOSE 8080
CMD ["go", "run", "server.go"]