File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ builder:
2121 zlib1g-dev
2222
2323 # Install Poetry
24- RUN curl -sSL https://install.python-poetry.org | python3 -
24+ RUN curl -sSL https://install.python-poetry.org | python3 - --version 2.0.1
2525
2626 SAVE IMAGE --cache-hint
2727
4242 RUN poetry config installer.max-workers 10
4343 # Install package dependencies without the voting_node package
4444 RUN poetry install --only main --no-root
45+ RUN poetry self add poetry-plugin-export
4546
4647 # Copy the voting_node source code
4748 COPY --dir voting_node README.md ./
Original file line number Diff line number Diff line change @@ -11,12 +11,13 @@ deps:
1111 RUN apt-get update && \
1212 apt-get install -y --no-install-recommends curl
1313
14- RUN curl -sSL https://install.python-poetry.org | python3 -
14+ RUN curl -sSL https://install.python-poetry.org | python3 - --version 2.0.1
1515
1616 COPY pyproject.toml .
1717 COPY poetry.lock .
1818
1919 RUN poetry install --only main --no-root
20+ RUN poetry self add poetry-plugin-export
2021
2122src :
2223 FROM +deps
Original file line number Diff line number Diff line change 1515 apt-get install -y --no-install-recommends curl build-essential libxml2-dev libxslt-dev zlib1g-dev python3-lxml
1616
1717 # Install Poetry
18- RUN curl -sSL https://install.python-poetry.org | python3 -
18+ RUN curl -sSL https://install.python-poetry.org | python3 - --version 2.0.1
1919
2020 # Set path to poetry
2121 ENV PATH= /root/.local/bin:$PATH
You can’t perform that action at this time.
0 commit comments