14 lines
229 B
Docker
14 lines
229 B
Docker
FROM node:14.16.1-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 ["node", "index.js"]
|