Skip to content

Commit

Permalink
Fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Marcelli committed Feb 7, 2020
1 parent af3c808 commit b0f6315
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,14 @@ RUN pip3 install -r /opt/requirements.txt
# Create /opt/ghidraaas working folder
RUN mkdir -p /opt/ghidraaas
RUN chown ghidra:ghidra /opt/ghidraaas

RUN mkdir -p /opt/ghidra_projects
RUN chown ghidra:ghidra /opt/ghidra_projects

USER ghidra
WORKDIR /opt/ghidraaas

ENV ghidra_home=/opt/ghidra
VOLUME /opt/ghidra_projects

COPY --chown=ghidra:ghidra flask_api.py flask_api.py
COPY --chown=ghidra:ghidra ghidra_plugins /opt/ghidra_plugins/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ docker build -t ghidraaas .

* Run *ghidraaas* docker
```
docker run -p 8080:8080 -v /home/user/ghidra_projects:/opt/ghidra_projects -t ghidraaas
docker run -p 8080:8080 -t ghidraaas
```

* Test the APIs
Expand Down

0 comments on commit b0f6315

Please sign in to comment.