Created
February 20, 2018 10:57
-
-
Save slemeur/4db70bfb401871f31c6d52500287a6ee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # inherit an image with node.js and npm - runtime requirements for TypeScript LS | |
| FROM eclipse/node | |
| # install socat | |
| RUN sudo apt-get install socat -y && \ | |
| sudo npm install -g typescript@2.5.3 typescript-language-server@0.1.4 | |
| # run socat that listens on port 4417 with exec command that starts LS | |
| CMD socat TCP4-LISTEN:4417,reuseaddr,fork EXEC:"typescript-language-server --stdio |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment