Skip to content

Commit

Permalink
Dockerfile (who uses this ???)
Browse files Browse the repository at this point in the history
  • Loading branch information
ewjoachim committed Jan 21, 2025
1 parent e01a3e5 commit cc7b3bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3

RUN pip install poetry
RUN pip install uv

ARG UID=1000
ARG GID=1000
Expand All @@ -10,7 +10,7 @@ USER $UID:$GID
ENV HOME="/src"

COPY pyproject.toml ./
COPY poetry.lock ./
RUN poetry install
ENTRYPOINT ["poetry", "run"]
COPY uv.lock ./
RUN uv sync
ENTRYPOINT ["uv", "run"]
CMD ["procrastinate", "worker"]

0 comments on commit cc7b3bf

Please sign in to comment.