diff --git a/Dockerfile b/Dockerfile index 23bcc5a..9fba496 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,12 @@ FROM alpine:latest RUN apk update RUN apk add \ -git \ python3 \ py3-pip \ python3-dev RUN rm -rf /var/cache/apk/* WORKDIR /root -RUN git clone https://github.com/thewhiteh4t/pwnedOrNot.git -WORKDIR /root/pwnedOrNot/ -RUN pip3 install --upgrade pip -RUN pip3 install requests \ No newline at end of file +COPY . /root/pwnedornot/ +WORKDIR /root/pwnedornot/ +RUN chmod +x install.sh +RUN ./install.sh \ No newline at end of file diff --git a/README.md b/README.md index 1dbfadd..7f14846 100755 --- a/README.md +++ b/README.md @@ -88,9 +88,9 @@ pacman -S pwnedornot **Docker** ```bash -docker pull thewhiteh4t/pwnedornot -docker create -it --name pon thewhiteh4t/pwnedornot -docker start pon -i +git clone https://github.com/thewhiteh4t/pwnedOrNot.git +docker build -t pon . +docker run -it pon ``` ## Updates