Skip to content

Commit

Permalink
WIP #189 Add a Dockerfile to build the language server
Browse files Browse the repository at this point in the history
Signed-off-by: Remy Suen <[email protected]>
  • Loading branch information
rcjsuen committed Oct 27, 2017
1 parent a15a5e3 commit 6876664
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ os:

sudo: false

services:
- docker

node_js:
- "8"
- "6"
Expand Down Expand Up @@ -36,3 +39,5 @@ script:
after_success:
- npm run coverage
- npm pack
- docker build -t rcjsuen/docker-langserver .
- docker run rcjsuen/docker-langserver --help
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM node:alpine
COPY lib /docker-langserver/lib
COPY bin /docker-langserver/bin
ENTRYPOINT [ "/docker-langserver/bin/docker-langserver" ]

0 comments on commit 6876664

Please sign in to comment.