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:
21
21
zlib1g-dev
22
22
23
23
# 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
25
25
26
26
SAVE IMAGE --cache-hint
27
27
42
42
RUN poetry config installer.max-workers 10
43
43
# Install package dependencies without the voting_node package
44
44
RUN poetry install --only main --no-root
45
+ RUN poetry self add poetry-plugin-export
45
46
46
47
# Copy the voting_node source code
47
48
COPY --dir voting_node README.md ./
Original file line number Diff line number Diff line change @@ -11,12 +11,13 @@ deps:
11
11
RUN apt-get update && \
12
12
apt-get install -y --no-install-recommends curl
13
13
14
- RUN curl -sSL https://install.python-poetry.org | python3 -
14
+ RUN curl -sSL https://install.python-poetry.org | python3 - --version 2.0.1
15
15
16
16
COPY pyproject.toml .
17
17
COPY poetry.lock .
18
18
19
19
RUN poetry install --only main --no-root
20
+ RUN poetry self add poetry-plugin-export
20
21
21
22
src :
22
23
FROM +deps
Original file line number Diff line number Diff line change 15
15
apt-get install -y --no-install-recommends curl build-essential libxml2-dev libxslt-dev zlib1g-dev python3-lxml
16
16
17
17
# 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
19
19
20
20
# Set path to poetry
21
21
ENV PATH= /root/.local/bin:$PATH
You can’t perform that action at this time.
0 commit comments