14 lines
213 B
Text
14 lines
213 B
Text
|
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
|