Created
March 31, 2018 17:23
-
-
Save victorhugorch/f3ab32df437183ae158666c7345338f7 to your computer and use it in GitHub Desktop.
env for go
This file contains hidden or 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
version: '2' | |
services: | |
app: | |
image: golang:1.10-alpine3.7 | |
container_name: go | |
volumes: | |
- "./src:/go/src/" | |
ports: | |
- "80:8080" | |
working_dir: /go/src/${PROJECT_NAME}/ | |
command: go run main.go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment