better device scan. less dependencies. ip regex

This commit is contained in:
Maxi Quoß
2021-09-30 00:15:41 +02:00
parent c513d68800
commit 5edf630926
6 changed files with 44 additions and 22 deletions

View File

@@ -19,10 +19,7 @@ COPY --from=builder /install /usr/local
COPY app /app
WORKDIR /app
RUN apt-get update && \
apt-get -y install iputils-ping && \
rm -rf /var/lib/apt/lists/* && \
groupadd user && useradd -M user -g user && \
chmod -R 755 /app && chown -R user:user /app
USER user
apt-get -y install iputils-ping nmap && \
rm -rf /var/lib/apt/lists/*
CMD ["./run.sh"]