fix: move copilot credentials to volume
All checks were successful
Container build / container-build (push) Successful in 2m33s

This commit is contained in:
Job 2024-09-28 20:05:30 +02:00
parent 5c7db03b32
commit 755605b2fb
Signed by: Job79
SSH Key Fingerprint: SHA256:BezbKv3jZaqu7SdNrZM0e42b8nlNwh63zaVj/pUxc7U
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
FROM docker.io/fedora:41
# === setup system ===
RUN dnf clean all && dnf -y install neovim unzip \
RUN dnf -y install neovim unzip \
bash-completion zoxide fd-find procps \
git go npm
@ -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
VOLUME /home/user/.local /home/user/.config/github-copilot
CMD ["bash"]

View File

@ -8,7 +8,7 @@ podman run -it \
-v ~/Documents:/home/user/Documents \
-v ~/.ssh:/home/user/.ssh \
-v ~/.config/git:/home/user/.config/git \
-v ~/.config/github-copilot:/home/user/.config/github-copilot \
-v "$name"-copilot:/home/user/.config/github-copilot \
-v "$name"-local:/home/user/.local \
--security-opt label=disable \
--userns=keep-id \