go-json/docker-compose.yml

14 lines
260 B
YAML
Raw Permalink Normal View History

2021-03-11 17:43:21 +03:00
version: '2'
services:
go-json:
image: golang:1.16
volumes:
- '.:/go/src/go-json'
deploy:
resources:
limits:
2021-05-17 13:06:53 +03:00
memory: 620M
2021-03-11 17:43:21 +03:00
working_dir: /go/src/go-json
command: |
sh -c "go test -c . && ls go-json.test"