Closed mario-campos closed 1 year ago
Just a simple PR that adds a Dockerfile for creating a docker image. Test it out:
~> docker build -t gh-migration-analyzer:latest gh-migration-analyzer/ [+] Building 1.0s (11/11) FINISHED => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 204B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/node:19 0.9s => [internal] load build context 0.0s => => transferring context: 322.75kB 0.0s => [1/6] FROM docker.io/library/node:19@sha256:83841d113e09345a28b146e431f15b062341c5449218e501ba45ef8f9cff6049 0.0s => CACHED [2/6] WORKDIR /home/node 0.0s => CACHED [3/6] COPY bin bin 0.0s => CACHED [4/6] COPY src src 0.0s => CACHED [5/6] COPY package.json package-lock.json . 0.0s => CACHED [6/6] RUN npm install 0.0s => exporting to image 0.0s => => exporting layers 0.0s => => writing image sha256:1725af3ec85d89a70322fb5c699ae6dd539ffda7e756e7428401505505034c84 0.0s => => naming to docker.io/library/gh-migration-analyzer:latest 0.0s ~> docker run gh-migration-analyzer:latest help Usage: gh-migration-analyzer [options] [command] Options: -h, --help display help for command Commands: ADO-org|a [options] Fetch AzureDevOps Organization Metrics GH-org|a [options] Fetch GitHub Organization Metrics help [command] display help for command
Just a simple PR that adds a Dockerfile for creating a docker image. Test it out: