Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
k2bd committed Nov 30, 2022
2 parents 186be07 + 790fae1 commit 4e67bd3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
11 changes: 4 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@ ENV PYTHONFAULTHANDLER=1 \
PYTHONHASHSEED=random \
PYTHONUNBUFFERED=1

RUN pip install "poetry==1.1.11"
COPY src .
COPY pyproject.toml .

COPY poetry.lock pyproject.toml ./
RUN poetry install --no-dev
RUN pip install -e .

COPY . .
RUN poetry build && pip install dist/*.whl

CMD ["python", "-m", "advent_readme_stars"]
CMD ["python", "-m", "advent_readme_stars"]
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ This [action](https://github.com/marketplace/actions/advent-readme-stars) adds a
| :---: | :---: | :---: |
| [Day 1](https://adventofcode.com/2021/day/1) |||
| [Day 2](https://adventofcode.com/2021/day/2) |||
| [Day 3](https://adventofcode.com/2021/day/3) |||
<!--- advent_readme_stars table example --->

## Quickstart
Expand Down Expand Up @@ -83,7 +84,7 @@ This should be stored as a repository secret, not pasted directly into the actio
*Optional* - default `userId` value

Your Advent of Code leaderboard ID.
To get this, go to your Go to [leaderboard](https://adventofcode.com/2020/leaderboard/private) and press 'View'.
To get this, go to your Go to [leaderboard](https://adventofcode.com/2020/leaderboard/private) and press 'View' (or 'Create' if you haven't yet created a private leaderboard).
The leaderboard ID is at the end of the URL:

```
Expand Down

0 comments on commit 4e67bd3

Please sign in to comment.