Add LSP Dockerfiles for bash, docker, and marksman
- bash-language-server: Prebuilt npm package (190MB) - docker-language-server: Multi-stage Go build (49.2MB) - marksman: Debian with libicu72 for .NET runtime (144MB) - All configured for Crush via stdio communication
This commit is contained in:
@@ -2,12 +2,9 @@ FROM node:22-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json package-lock.json* ./
|
||||
# Install prebuilt bash-language-server from npm
|
||||
RUN npm install -g bash-language-server
|
||||
|
||||
RUN npm ci
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
CMD ["node", "dist/index.js"]
|
||||
# Set entrypoint
|
||||
ENTRYPOINT ["bash-language-server"]
|
||||
CMD ["start"]
|
||||
|
||||
Reference in New Issue
Block a user