added Dockerfile
This commit is contained in:
parent
ea55fda9e5
commit
0d4e6c6f80
5 changed files with 21 additions and 7 deletions
14
Dockerfile
Normal file
14
Dockerfile
Normal file
|
@ -0,0 +1,14 @@
|
|||
FROM node:alpine
|
||||
|
||||
MAINTAINER mail@sp-codes.de
|
||||
|
||||
WORKDIR monitor
|
||||
|
||||
COPY index.js package.json ./
|
||||
|
||||
RUN mkdir -p /monitor/data \
|
||||
&& apk --no-cache add nmap git \
|
||||
&& npm install \
|
||||
&& apk del git
|
||||
|
||||
CMD npm run start
|
Reference in a new issue