add docker build as a joke

This commit is contained in:
lsanto 2024-10-05 18:33:32 -04:00
parent c858c3f80e
commit f6dcea654a
2 changed files with 13 additions and 0 deletions

4
.dockerignore Normal file
View File

@ -0,0 +1,4 @@
.git
.dockerignore
.github
.gitignore

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM anatolelucet/neovim:stable
WORKDIR /root/
RUN apk add git build-base curl github-cli nodejs npm
RUN mkdir -p .config/nvim
COPY . .config/nvim/
RUN nvim --headless +"Lazy install" +qall
RUN nvim --headless +"MasonToolsInstall" +qall
CMD ["nvim"]
# docker run -it -v `pwd`:/mnt/volume --workdir=/mnt/volume devhwu/nwim:0.0.1