Skip to content

Commit

Permalink
add docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Oct 2, 2018
1 parent a1e2e41 commit 051d115
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions Dockerfile
@@ -0,0 +1,11 @@
FROM python:3.7.0


ADD server.py /
ADD static /
ADD templates /
ADD requirements.txt /

RUN pip install --requirement requirements.txt

ENTRYPOINT [ "python", "./server.py" ]
2 changes: 1 addition & 1 deletion server.py
Expand Up @@ -434,7 +434,7 @@ def run(self, **keywords):

def initParser():
parser = argparse.ArgumentParser(description='Start Anonymous Github')
parser.add_argument('-token', required=True, help='GitHuh token')
parser.add_argument('-token', required=True, help='GitHub token')
parser.add_argument('-host', help='The hostname', default="127.0.0.1")
parser.add_argument('-port', help='The port of the application', default=5000)
parser.add_argument('-config_dir', help='The repository that will contains the configuration files',
Expand Down

0 comments on commit 051d115

Please sign in to comment.