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.
1 parent 6991fbd commit 243b200Copy full SHA for 243b200
Dockerfile
@@ -1,20 +1,16 @@
1
-FROM --platform=$BUILDPLATFORM python:3.11-slim
+FROM python:3.11-slim-buster
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
16
-# Install uv package manager (use pip for safer cross-arch install)
17
-RUN pip install uv
+# 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
18
ENV PATH="/root/.local/bin:${PATH}"
19
20
# 2) Copy the repository content
0 commit comments