Skip to content

Commit da6ae2c

Browse files
committed
fix(dockerfile):
1 parent 304a347 commit da6ae2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ RUN curl -sSL https://install.python-poetry.org | python3 -
88

99
# Ensure Poetry is available in PATH
1010
ENV PATH="/root/.local/bin:$PATH"
11+
RUN poetry self add "poetry-plugin-export"
1112

1213
COPY pyproject.toml poetry.lock ./
1314

14-
RUN poetry self add "poetry-plugin-export" &&
15-
poetry export -f requirements.txt --without-hashes -o requirements.txt &&
16-
pip install --no-cache-dir -r requirements.txt
15+
RUN poetry export -f requirements.txt --without-hashes -o requirements.txt
16+
RUN pip install --no-cache-dir -r requirements.txt
1717

1818
COPY . .

0 commit comments

Comments
 (0)