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

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