mirror of
https://github.com/usememos/memos.git
synced 2025-01-28 08:05:03 +08:00
chore: split Go binary and src for dev (#1932)
Split Go binary and src for dev
This commit is contained in:
parent
d4b88c6c86
commit
6adbb7419c
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue