feat: keep cache in a volume

This commit is contained in:
Job 2024-09-29 11:29:24 +02:00
parent 2e49a4f3a3
commit 7465b394f4
Signed by: Job79
SSH Key Fingerprint: SHA256:BezbKv3jZaqu7SdNrZM0e42b8nlNwh63zaVj/pUxc7U
2 changed files with 2 additions and 1 deletions

View File

@ -19,5 +19,5 @@ COPY config/nvim/lazyvim.json /home/user/.config/nvim/lazyvim.json
# === setup container ===
ENV TZ="Europe/Amsterdam"
VOLUME /home/user/.local /home/user/.config/github-copilot
VOLUME /home/user/.local /home/user/.cache /home/user/.config/github-copilot
CMD ["bash"]

View File

@ -11,6 +11,7 @@ podman run -it \
-v ~/.config/git:/home/user/.config/git \
-v "$name"-copilot:/home/user/.config/github-copilot \
-v "$name"-local:/home/user/.local \
-v "$name"-cache:/home/user/.cache \
--security-opt label=disable \
--userns=keep-id \
git.plabble.org/job79/dev:latest