Speed up builds
This commit is contained in:
parent
2c0a1dfcea
commit
9091200099
@ -30,8 +30,6 @@ steps:
|
||||
|
||||
- name: docker-build
|
||||
image: plugins/docker
|
||||
environment:
|
||||
DOCKER_BUILDKIT: 1
|
||||
settings:
|
||||
username: ldooks
|
||||
password:
|
||||
|
@ -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 && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user