diff --git a/Dockerfile b/Dockerfile index d28c8a7..ab540df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,14 +14,13 @@ RUN gem install wpscan && \ WORKDIR /usr/src/app/ COPY . . -RUN python3 -m pip install virtualenv && \ - virtualenv venv -p python3 && \ - . venv/bin/activate && \ - pip install --no-cache-dir -r requirements.txt +RUN pip install --no-cache-dir -r requirements.txt -WORKDIR /usr/src/app/plugins/ 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 ["/usr/src/app/run.sh"] +CMD ["gunicorn", "--bind", "0.0.0.0:7070", "app:app", "--workers 3", "--timeout", "10000"] diff --git a/README.md b/README.md index bdac88c..5e6c8fd 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ CMSScan provides a centralized Security Dashboard for CMS Security scans. It is ## Install ``` -# Requires ruby gem, python3 and git +# Requires ruby, ruby-dev, gem, python3 and git git clone https://github.com/ajinabraham/CMSScan.git cd CMSScan ./setup.sh