Skip to content

Commit

Permalink
annual-reports: fix image
Browse files Browse the repository at this point in the history
  • Loading branch information
drjova committed Oct 27, 2023
1 parent 576d85d commit 077b295
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions annual-reports/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
FROM python:3.8
FROM python:3.11

WORKDIR /matomo
WORKDIR /annual-reports

ENV PATH="/root/.local/bin:${PATH}"
ENV PYTHONBUFFERED=0 \
POETRY_VIRTUALENVS_CREATE=false
POETRY_VIRTUALENVS_CREATE=false


ARG POETRY_VERSION
ENV POETRY_VERSION="${POETRY_VERSION:-1.6.1}"
RUN curl -sSL https://install.python-poetry.org \
| python3 - --git https://github.com/python-poetry/poetry.git#{$POETRY_VERSION} \
&& poetry --version
&& poetry --version


COPY poetry.lock pyproject.toml ./
Expand Down
2 changes: 1 addition & 1 deletion annual-reports/src/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@click.command()
@click.option("--years", "-y", multiple=True, default=[])
def fetch_annual_reports(years: list[int]):
def fetch_annual_reports(years):
annual_reports = AnnualReportsAPI(years=years)

click.echo("Create tables if missing")
Expand Down

0 comments on commit 077b295

Please sign in to comment.