Skip to content

Commit

Permalink
Docker file fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinabraham committed Nov 18, 2018
1 parent 365fde1 commit 56e958b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 56e958b

Please sign in to comment.