Skip to content

Commit

Permalink
Use absolute path in entrypoint command
Browse files Browse the repository at this point in the history
  • Loading branch information
italankin committed Sep 3, 2022
1 parent 53b8468 commit f24c010
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ WORKDIR /google-play-uploader
COPY requirements.txt .
RUN pip install -r requirements.txt && rm requirements.txt
COPY upload.py .
ENTRYPOINT [ "python", "./upload.py" ]
ENTRYPOINT [ "python", "/google-play-uploader/upload.py" ]
CMD [ "--help" ]
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,24 @@ A script for uploading Android App Bundles to Google Play Store.
## Usage

```sh
python3 upload.py \
$ python3 upload.py \
--package-name 'com.example.myapp' \
--key-path '/path/to/service/account/key/file' \
--aab-path '/path/to/aab/file'
```

## Docker image

Docker image is available at [ghcr.io](https://ghcr.io/italankin/google-play-aab-uploader).

### Run in docker

```sh
$ docker run --rm -it \
-v "$(pwd)/com.example.myapp.aab":'/data/bundle.aab' \
-v "$(pwd)/service-account-key.json":'/data/key.json' \
ghcr.io/italankin/google-play-aab-uploader \
--package-name 'com.example.myapp' \
--key-path '/data/key.json' \
--aab-path '/data/bundle.aab'
```

0 comments on commit f24c010

Please sign in to comment.