forked from ajinabraham/CMSScan
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (21 loc) · 680 Bytes
/
Dockerfile
File metadata and controls
26 lines (21 loc) · 680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM python:3
LABEL \
name="CMSScan" \
author="Ajin Abraham <ajin25@gmail.com>" \
description="Scan WordPress, Joomla, vBulletin and Drupal CMS for Security issues"
RUN \
apt-get update && \
apt-get install -y ruby \
ruby-dev \
git
RUN gem install wpscan && \
wpscan --update
WORKDIR /usr/src/app/
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
RUN git clone https://github.com/rezasp/vbscan.git
RUN git clone https://github.com/rezasp/joomscan.git
RUN mv vbscan /usr/src/app/plugins/vbscan
RUN mv joomscan /usr/src/app/plugins/joomscan
EXPOSE 7070
CMD ["gunicorn", "--bind", "0.0.0.0:7070", "app:app", "--workers 3", "--timeout", "10000"]