Created
August 15, 2018 20:05
-
-
Save luizpaulogodoy/824c72fea402e8f179829cc3ac039195 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################## | |
## Development Dockerfile for Golang Applications ## | |
############################################################################## | |
# Start from a Debian image with the 1.9.2 version of Go installed | |
# and a workspace (GOPATH) configured at /go. | |
FROM golang:latest | |
# Create Working Directory | |
RUN mkdir -p /go/src/github.com/luizpaulogodoy/app-service | |
WORKDIR /go/src/github.com/luizpaulogodoy/app-service | |
RUN go get github.com/cortesi/modd/cmd/modd | |
COPY modd.conf /go/src/github.com/luizpaulogodoy/app-service | |
# Run start script | |
# CMD ./app | |
CMD modd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment