Skip to content

Commit c2f3048

Browse files
committed
use uv instead of poetry
1 parent c4a1fe0 commit c2f3048

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.12-slim-bookworm
1+
FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim
22

33
WORKDIR /app
44
RUN useradd --create-home appuser
@@ -21,10 +21,9 @@ RUN tar -xf /tmp/multirun-x86_64-linux-gnu-${MULTIRUN_VERSION}.tar.gz \
2121

2222
RUN chown appuser:appuser /app
2323

24-
ENV POETRY_VIRTUALENVS_CREATE=0
25-
RUN pip install --upgrade poetry
26-
24+
ENV PATH="/app/.venv/bin:$PATH"
2725
ENV WEB_CONCURRENCY=4
26+
USER appuser
2827

2928
COPY base /base
3029
CMD ["/base/start.sh"]

0 commit comments

Comments
 (0)