Skip to content

Instantly share code, notes, and snippets.

@adiachenko
Last active August 4, 2019 19:08
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 adiachenko/38c1449896ecd92e393b6160458b274e to your computer and use it in GitHub Desktop.
Save adiachenko/38c1449896ecd92e393b6160458b274e to your computer and use it in GitHub Desktop.
version: '3.7'
services:
app:
command: tail -f /dev/null
image: golang:1.12.6-stretch
environment:
# All of your dependencies will be found right here under /code/.go/pkg/mod
- GOPATH=/code/.go
ports:
- 8000:8000
volumes:
- ./:/code:cached
working_dir: /code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment