Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@tonyblundell
Created October 5, 2018 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonyblundell/86cede9937ab8f6420dd419ad6c6560d to your computer and use it in GitHub Desktop.
Save tonyblundell/86cede9937ab8f6420dd419ad6c6560d to your computer and use it in GitHub Desktop.
Golang docker-compose.yml
version: "3"
services:
app:
image: golang:alpine
working_dir: /app
volumes:
- .:/app
command: sh -c "go fmt && go run main.go"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment