forked from PrimeIntellect-ai/prime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (25 loc) · 769 Bytes
/
Dockerfile
File metadata and controls
34 lines (25 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Prime CLI container image
# This image packages the released Prime CLI together with uv so it can be used in
# automation scenarios.
ARG PYTHON_VERSION=3.11
FROM python:${PYTHON_VERSION}-slim AS runtime
ARG PRIME_VERSION
ENV PRIME_VERSION=${PRIME_VERSION}
ENV PATH="/root/.local/bin:/root/.cargo/bin:${PATH}"
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
bash \
git \
build-essential \
gcc \
pkg-config \
&& rm -rf /var/lib/apt/lists/*
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
COPY dist/ /tmp/dist/
RUN pip install --no-cache-dir /tmp/dist/*.whl \
&& rm -rf /tmp/dist
RUN prime --version
WORKDIR /workspace
CMD ["prime", "--help"]