mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-03-31 06:24:06 -04:00
better device scan. less dependencies. ip regex
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user