mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: split Go binary and src for dev (#1932)
Split Go binary and src for dev
This commit is contained in:
@ -14,8 +14,9 @@ services:
|
|||||||
working_dir: /work
|
working_dir: /work
|
||||||
command: air -c ./scripts/.air.toml
|
command: air -c ./scripts/.air.toml
|
||||||
volumes:
|
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/
|
- .:/work/
|
||||||
- ./.air/go/:/go/ # Cache for go mod database
|
|
||||||
web:
|
web:
|
||||||
image: node:18.12.1-alpine3.16
|
image: node:18.12.1-alpine3.16
|
||||||
working_dir: /work
|
working_dir: /work
|
||||||
|
Reference in New Issue
Block a user