Skip to content

Commit

Permalink
WIP #189 Ensure that the Docker image has node_modules/
Browse files Browse the repository at this point in the history
Signed-off-by: Remy Suen <remy.suen@gmail.com>
  • Loading branch information
rcjsuen committed Oct 27, 2017
1 parent d27f56b commit 2a81640
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
@@ -1,5 +1,8 @@
FROM node:alpine
COPY lib /docker-langserver/lib
COPY bin /docker-langserver/bin
RUN chmod +x /docker-langserver/bin/docker-langserver
COPY package.json /docker-langserver/package.json
WORKDIR /docker-langserver/
RUN npm install --production && \
chmod +x /docker-langserver/bin/docker-langserver
ENTRYPOINT [ "/docker-langserver/bin/docker-langserver" ]

0 comments on commit 2a81640

Please sign in to comment.