From 7673367341e7117bc4490ca3e919a39b13d72d2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tuna=20Alika=C5=9Fifo=C4=9Flu?= Date: Tue, 21 Feb 2023 17:09:55 +0300 Subject: [PATCH] fix(cmd): remove unnecessary `CMD` in `Dockerfile` The `CMD [ "/bin/bash/" ]` command in the last line of `Dockerfile` is unnecessary. This can be changed with `CMD [ "nvim" ]` for direct nvim start. However, with this setup it may not be possible to exit and re-enter Neovim without quitting the container. --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5fab625c..c6a664b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,4 +33,3 @@ COPY . /root/.config/nvim RUN nvim --headless "+Lazy! install" +"MasonInstall ${LSP_LIST}" +qa RUN nvim --headless +"TSUpdateSync ${TS_LIST}" +qa -CMD [ "/bin/bash" ]