From 5b4690e8546db70f7c6f30dbfc306d8b07fb752d Mon Sep 17 00:00:00 2001 From: iceBear67 Date: Sat, 22 Mar 2025 14:58:10 +0800 Subject: [PATCH] fix user.fish not loaded --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bf4d471..2566b60 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,8 @@ apt-get update && apt-get upgrade apt-get install -y curl jq neovim htop fish tmux sudo git useradd -m -s /bin/fish user echo "user ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/user.conf +mkdir -p /home/user/.config/fish/ EOF -COPY ./init.fish /home/user/.init.fish +COPY ./init.fish /init.fish +COPY --chown=user ./user.fish /home/user/.config/fish/config.fish