mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-12 18:32:44 +00:00
add docker image
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@@ -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" ]
|
||||
@@ -434,7 +434,7 @@ class Anonymous_Github:
|
||||
|
||||
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',
|
||||
|
||||
Reference in New Issue
Block a user