Skip to content

Commit 5ccbb4f

Browse files
authored
Use pipx in docker (#51)
1 parent 91d4f7b commit 5ccbb4f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
FROM python:3.13-slim@sha256:751d8bece269ba9e672b3f2226050e7e6fb3f3da3408b5dcb5d415a054fcb061 AS builder
22

3+
RUN apt-get update && \
4+
apt-get install --no-install-suggests --no-install-recommends --yes pipx
35

4-
RUN pip install --no-cache-dir poetry==1.8.4
5-
6+
ENV PATH="/root/.local/bin:${PATH}"
7+
RUN pipx install poetry
68
WORKDIR /app
79

810
COPY pyproject.toml poetry.lock ./

0 commit comments

Comments
 (0)