Merge pull request #20 from makim0n/master

Use alpine docker
pull/22/head
Swissky 2019-12-03 13:03:48 +01:00 committed by GitHub
commit 8ffaa5c899
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 9 deletions

View File

@ -1,9 +1,9 @@
FROM ubuntu
RUN apt-get update -y && \
apt-get install -y python3-pip python3-dev
COPY ./requirements.txt /requirements.txt
WORKDIR /
RUN pip3 install -r requirements.txt
COPY . /
ENTRYPOINT [ "python3" ]
CMD [ "ssrfmap.py" ]
FROM python:3-alpine3.10
WORKDIR /opt
RUN apk update && apk add git
RUN git clone https://github.com/swisskyrepo/SSRFmap.git
RUN cd /opt/SSRFmap && pip install -r requirements.txt
ENTRYPOINT ["python3","/opt/SSRFmap/ssrfmap.py"]