SabyasachiRana/WebMap

vimrc not found & token permission denied

CyberPinolo opened this issue · 1 comments

I built the docker after cloning this repo. I got a couple of errors easy to fix.

  1. In Dockerfile line 40: there is no vimrc file to copy.
  2. When I try to generate a token: the /opt/nmapdashboard/nmapreport/token.py is not executable and I get a permission denied. chmod +x /opt/nmapdashboard/nmapreport/token.py should fix it.

confirming the above. remove the vimrc COPY command from Dockerfile, add in a RUN command with the chmod above & everything works perfect.