added a dockerfile, updateed install.sh to not prompt to accept new host

This commit is contained in:
Ray Slakinski
2024-12-02 14:41:47 -05:00
parent e506dec095
commit 10a0d7ad00
2 changed files with 19 additions and 3 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM ubuntu:24.04
RUN apt-get update && \
apt-get install -y \
sshpass
WORKDIR /nextdns
COPY install.sh .
COPY nextdns.conf .
COPY nextdns_install.sh .
COPY pw .
RUN chmod +x install.sh
RUN chmod +x nextdns_install.sh
ENTRYPOINT ["./install.sh"]