An extremely fast Python package and project manager, written in Rust.
# debian.sh --arch 'amd64' out/ 'bookworm' '@1734912000' |
COPY /uv /uvx /usr/local/bin/ # buildkit |
ENTRYPOINT [] |
CMD ["/usr/local/bin/uv"] |
WORKDIR /app |
COPY src src # buildkit |
COPY README.md README.md # buildkit |
COPY pyproject.toml pyproject.toml # buildkit |
COPY uv.lock uv.lock # buildkit |
COPY LICENSE LICENSE # buildkit |
RUN /bin/sh -c apt-get update && apt-get install -y curl # buildkit |
RUN /bin/sh -c uv sync --no-dev # buildkit |
CMD ["uv" "run" "src/main.py"] |
HEALTHCHECK &{["CMD-SHELL" "curl -f http://localhost:80 || exit 1"] "1m0s" "30s" "10s" "0s" '\x03'} |
EXPOSE map[80/tcp:{}] |
Key |
Value |
org.opencontainers.image.created |
2024-12-27T13:41:10.380Z |
org.opencontainers.image.description |
An extremely fast Python package and project manager, written in Rust. |
org.opencontainers.image.licenses |
Apache-2.0 |
org.opencontainers.image.revision |
c456bae5e47796d5f77f9a9ae3479604a75828a3 |
org.opencontainers.image.source |
https://github.com/astral-sh/uv |
org.opencontainers.image.title |
uv |
org.opencontainers.image.url |
https://github.com/astral-sh/uv |
org.opencontainers.image.version |
0.5.13-bookworm-slim |