From f872ed0e21e2f5848552290a695978cf06bb3826 Mon Sep 17 00:00:00 2001 From: Martin Bernstorff Date: Sat, 18 Nov 2023 16:30:24 +0000 Subject: [PATCH] dev: mount shared dir for ankicard generation --- .devcontainer/devcontainer.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 5ff90854..05a15870 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -24,13 +24,12 @@ }, "mounts": [ "source=${localEnv:HOME}/.config/gh/hosts.yml,target=/root/.config/gh/hosts.yml,type=bind,consistency=cache", // GitHub CLI authentication login + "source=${localEnv:HOME}/ankidecks,target=/output/,type=bind,consistency=cache", + "source=/Users/Shared/life-lessons/docs/life-lessons/,target=/input/,type=bind,consistency=cache", ], "features": { "ghcr.io/devcontainers/features/github-cli:1": {} }, - "mounts": [ - "source=${localEnv:HOME}/.config/gh/hosts.yml,target=/root/.config/gh/hosts.yml,type=bind,consistency=cache", - ], "postStartCommand": "make install" // Features to add to the dev container. More info: https://containers.dev/features. // "features": {},