Skip to content

Commit

Permalink
Merge pull request #117 from NVolcz/dockerfile
Browse files Browse the repository at this point in the history
Dockerfile
  • Loading branch information
codingo authored Sep 1, 2020
2 parents e28361f + a523e59 commit 4a3a1ee
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
language: python
services: docker
python:
- 3.4
- 3.5
- 3.6
install:
- pip --version
- pip install -r test-requirements.txt
- pip install pep8
- pip install pep8
before_script:
- pep8 -v *.py VHostScan/
script:
- pytest
- docker build -t VHostScan .
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM ubuntu:latest

RUN mkdir /app

ADD . /app

RUN apt-get update; apt-get install -y python3 python3-pip

RUN cd /app && pip3 install -r test-requirements.txt && python3 setup.py install

ENTRYPOINT ["VHostScan"]

0 comments on commit 4a3a1ee

Please sign in to comment.