feat: add bash_profile for creating copilot directory

This commit is contained in:
Job
2024-09-29 16:48:19 +02:00
parent 53cfeb1a62
commit df8b7b5bfe
2 changed files with 10 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ RUN useradd -ms /bin/bash user && usermod -aG wheel user && sed -i '/NOPASSWD/s/
USER user
WORKDIR /home/user
COPY config/user/bashrc /home/user/.bashrc
COPY config/user/profile /home/user/.bash_profile
# === setup neovim ===
RUN git clone --depth 1 https://github.com/LazyVim/starter ~/.config/nvim
@@ -19,5 +20,5 @@ COPY config/nvim/lazyvim.json /home/user/.config/nvim/lazyvim.json
# === setup container ===
ENV TZ="Europe/Amsterdam"
VOLUME /home/user/.local /home/user/.cache /home/user/.config/github-copilot
CMD ["bash"]
VOLUME /home/user/.local /home/user/.cache
CMD ["bash", "-l"]