File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -26,4 +26,4 @@ USER app
2626
2727EXPOSE 8000
2828
29- CMD ["python" , "app.py" ]
29+ ENTRYPOINT ["python" , "app.py" ]
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ You can do this in two ways:
7070 -e APP_AUTH_INSTALLATION_ID=" <installtion_id_once_installed>" \
7171 -e BASIC_AUTH_USERNAME=" <your_username>" \
7272 -e BASIC_AUTH_PASSWORD=" <your_password>" \
73- github-cctray:latest
73+ github-cctray:latest --mode app-auth
7474```
7575
7676# Usage
@@ -211,7 +211,7 @@ pip install -r requirements.txt
211211* set necessary env variable to authenticate with Github (see Prerequisites)
212212* export BASIC_AUTH_USERNAME=< user>
213213* export BASIC_AUTH_PASSWORD=< pass>
214- * python app.py
214+ * python app.py --mode [pat-auth | app-auth] # pat-auth is the default mode if no mode is set
215215```
216216
217217# Configuring a Client
Original file line number Diff line number Diff line change 22flask
33Flask-BasicAuth
44waitress
5- jwt
5+ PyJWT
6+ cryptography
You can’t perform that action at this time.
0 commit comments