mirror of
https://github.com/basnijholt/compose-farm.git
synced 2026-02-16 11:42:13 +00:00
17 lines
396 B
Docker
17 lines
396 B
Docker
# syntax=docker/dockerfile:1
|
|
FROM ghcr.io/astral-sh/uv:python3.14-alpine
|
|
|
|
# Install SSH client (required for remote host connections)
|
|
RUN apk add --no-cache openssh-client
|
|
|
|
# Install compose-farm from PyPI
|
|
ARG VERSION
|
|
RUN uv tool install "compose-farm[web]${VERSION:+==$VERSION}"
|
|
|
|
# Add uv tool bin to PATH
|
|
ENV PATH="/root/.local/bin:$PATH"
|
|
|
|
# Default entrypoint
|
|
ENTRYPOINT ["cf"]
|
|
CMD ["--help"]
|