This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
myappziugv/Dockerfile
Vincent Batts 4e76f510b3
initial commit from IBM Cloud example
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-06-03 10:42:48 +02:00

19 lines
423 B
Docker

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"]