Skip to content

Latest commit

 

History

History
70 lines (45 loc) · 1.1 KB

File metadata and controls

70 lines (45 loc) · 1.1 KB

Docker

How to use this project with docker.


Building

How to compile the source code.


  • Clone the repository

    git clone https://github.com/tipsy/profile-summary-for-github.git
  • Navigate to the root folder

    cd profile-summary-for-github
  • Compile the source code

    docker build -t profile-summary-for-github


Running

How to start the compiled project.


Without Token

docker run                              \
    -it                                 \
    --rm                                \
    --name profile-summary-for-github   \
    -p 7070:7070 profile-summary-for-github

With Token

docker run                              \
    -it                                 \
    --rm                                \
    --name profile-summary-for-github   \
    -p 7070:7070                        \
    -e "API_TOKENS=<My Token A>,<My Token B>" profile-summary-for-github

Interface

You can access it at http://localhost:7070