Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

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

Athurg Gooth6adbb7419c71
diff --git a/docker-compose.dev.yaml b/docker-compose.dev.yaml
index 8ba6c80c5..e3675cbb6 100644
--- a/docker-compose.dev.yaml
+++ b/docker-compose.dev.yaml
@@ -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