We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78da421 commit 5153c31Copy full SHA for 5153c31
1 file changed
Dockerfile
@@ -37,14 +37,17 @@ ENV PATH="/root/.local/bin/:$PATH"
37
# Create a fake VERSION file, so that we don't break the cache because of a mismatch in that file
38
RUN echo "v0.0.0" > VERSION
39
40
+# Create venv
41
RUN uv venv
-RUN ${BIN_PATH}/python -m ensurepip
42
43
# Copy dependency files
44
COPY uv.lock pyproject.toml ./
45
46
# Install dependencies using uv (only dependencies, not the project itself)
47
-RUN uv sync --inexact --frozen --all-extras --no-install-project --compile-bytecode
+RUN uv sync --frozen --all-extras --no-install-project --compile-bytecode
48
+
49
+# Make sure that pip is available
50
+RUN ${BIN_PATH}/python -m ensurepip
51
52
# --------------- `final` stage ---------------
53
FROM base AS final
0 commit comments