commit
8ffaa5c899
18
Dockerfile
18
Dockerfile
|
@ -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"]
|
||||||
|
|
Loading…
Reference in New Issue