chore: split Go binary and src for dev (#1932)

Split Go binary and src for dev
This commit is contained in:
Athurg Gooth 2023-07-12 15:39:56 +08:00 committed by GitHub
parent d4b88c6c86
commit 6adbb7419c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,8 +14,9 @@ services:
working_dir: /work
command: air -c ./scripts/.air.toml
volumes:
- $HOME/go/pkg/:/go/pkg/ # Cache for go mod shared with the host
- ./.air/bin/:/go/bin/ # Cache for binary used only in container, such as *air*
- .:/work/
- ./.air/go/:/go/ # Cache for go mod database
web:
image: node:18.12.1-alpine3.16
working_dir: /work