Skip to content

Commit

Permalink
do not build in docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
raffis committed Mar 11, 2019
1 parent 4baaaf1 commit e47fdbb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
7 changes: 5 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.editorconfig
build
node_modules
coverage
tests
data
src
tsconfig.json
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
build
coverage
data
7 changes: 0 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
FROM node:10.15.1-alpine

RUN apk update && apk add git

COPY . /opt/kube-icinga
RUN cd /opt/kube-icinga && \
npm install && \
npm run build

CMD ["node", "/opt/kube-icinga/build/main.js"]

0 comments on commit e47fdbb

Please sign in to comment.