From 2018e38ba802a81473b6169382134bc6fc7a5a34 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Wed, 3 Apr 2024 19:09:51 -0700 Subject: [PATCH] Speed up builds --- .drone.yml | 2 -- Dockerfile | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 899143b0..6b4a4c76 100755 --- a/.drone.yml +++ b/.drone.yml @@ -30,8 +30,6 @@ steps: - name: docker-build image: plugins/docker - environment: - DOCKER_BUILDKIT: 1 settings: username: ldooks password: diff --git a/Dockerfile b/Dockerfile index d8652ee1..21f11eba 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ FROM python:3.10-rc as build ADD app/requirements.txt /requirements.txt -ADD --chmod=755 https://astral.sh/uv/install.sh /install.sh -RUN /install.sh && rm /install.sh -RUN /root/.cargo/bin/uv pip install --system install -q --no-cache-dir -r requirements.txt +ADD https://astral.sh/uv/install.sh /install.sh +RUN bash /install.sh && rm /install.sh +RUN /root/.cargo/bin/uv pip install --system --no-cache-dir -r requirements.txt FROM python:3.10-rc-slim RUN apt update && \