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 FROM python:3-alpine3.10
RUN apt-get update -y && \
apt-get install -y python3-pip python3-dev WORKDIR /opt
COPY ./requirements.txt /requirements.txt
WORKDIR / RUN apk update && apk add git
RUN pip3 install -r requirements.txt RUN git clone https://github.com/swisskyrepo/SSRFmap.git
COPY . / RUN cd /opt/SSRFmap && pip install -r requirements.txt
ENTRYPOINT [ "python3" ]
CMD [ "ssrfmap.py" ] ENTRYPOINT ["python3","/opt/SSRFmap/ssrfmap.py"]