We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 645248c + 16e74fc commit 24db21fCopy full SHA for 24db21f
Dockerfile
@@ -1,16 +1,20 @@
1
-FROM python:3.11-slim-buster
+FROM --platform=$BUILDPLATFORM python:3.11-slim
2
3
WORKDIR /app
4
5
RUN apt-get update && apt-get install -y --no-install-recommends \
6
curl \
7
ca-certificates \
8
build-essential \
9
+ python3-dev \
10
+ libssl-dev \
11
+ libffi-dev \
12
+ rustc \
13
+ cargo \
14
&& rm -rf /var/lib/apt/lists/*
15
-# 1) Install uv package manager
-# By default, uv installs to ~/.local/bin. We update PATH so uv is recognized.
-RUN curl -LsSf https://astral.sh/uv/install.sh | sh
16
+# Install uv package manager (use pip for safer cross-arch install)
17
+RUN pip install uv
18
ENV PATH="/root/.local/bin:${PATH}"
19
20
# 2) Copy the repository content
0 commit comments