From 88175618bc736c217dbbcdeb2b77b90a848dc1be Mon Sep 17 00:00:00 2001 From: thewhiteh4t Date: Sun, 31 May 2020 11:20:21 +0530 Subject: [PATCH] dockerfile updated Former-commit-id: 76a9cee4fc94e131945c5f32a78d7e7478021df3 --- Dockerfile | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) mode change 100644 => 100755 Dockerfile diff --git a/Dockerfile b/Dockerfile old mode 100644 new mode 100755 index ccc341e..778a04b --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,14 @@ -FROM debian:latest -ENV LANG C.UTF-8 -ENV LC_ALL C.UTF-8 -LABEL \ - author="thewhiteh4t" \ - maintainer="Vincent Nadal " -RUN apt-get update && \ - apt-get -y install python3 python3-pip +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 -COPY * ./ -ENTRYPOINT ["python3", "pwnedornot.py"] +ENTRYPOINT ["python3", "pwnedornot.py"] \ No newline at end of file