mirror of
https://github.com/sissbruecker/linkding.git
synced 2026-02-28 06:53:12 +08:00
Install uv via installer
This commit is contained in:
@@ -20,11 +20,12 @@ RUN apt-get update && apt-get -y install build-essential pkg-config libpq-dev li
|
||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||
ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
WORKDIR /etc/linkding
|
||||
# install uv
|
||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/
|
||||
# install uv, use installer script for now as distroless images are not availabe for armv7
|
||||
ADD https://astral.sh/uv/0.8.13/install.sh /uv-installer.sh
|
||||
RUN chmod +x /uv-installer.sh && /uv-installer.sh
|
||||
# install python dependencies
|
||||
COPY pyproject.toml uv.lock ./
|
||||
RUN uv sync --no-dev
|
||||
RUN /root/.local/bin/uv sync --no-dev
|
||||
|
||||
|
||||
FROM build-deps AS compile-icu
|
||||
|
||||
Reference in New Issue
Block a user