go-json/docker-compose.yml

14 lines
260 B
YAML
Raw Normal View History

2021-03-11 17:43:21 +03:00
version: '2'
services:
go-json:
2022-03-18 12:04:21 +03:00
image: golang:1.18
2021-03-11 17:43:21 +03:00
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"