Skip to content

Commit

Permalink
use uv
Browse files Browse the repository at this point in the history
  • Loading branch information
diceroll123 committed Jul 18, 2024
1 parent 63041e5 commit bfed5da
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion automation/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
FROM python:3.9-bookworm
# py3.9 because of collections.Iterable

ADD --chmod=755 https://astral.sh/uv/install.sh /install.sh
RUN /install.sh && rm /install.sh

# install requirements
COPY requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt
RUN /root/.cargo/bin/uv pip install --system --no-cache -r /tmp/requirements.txt


# copy the app
COPY . /app
Expand Down

0 comments on commit bfed5da

Please sign in to comment.