paliad's RemotePaliadinService shells out to `ssh m@mriver paliadin-shim` to deliver Paliadin turns from prod (paliad.de Dokploy container) to mRiver where the long-lived tmux+claude pane lives. The alpine final stage didn't ship an SSH client; add openssh-client (~1.1MB compressed). The Go service wires this up in a follow-up commit (Paliadin interface split). When PALIADIN_REMOTE_HOST is unset, the binary still picks up the local-tmux PoC path and never invokes ssh, so this change is safe on its own. Refs m/paliad#12
20 lines
475 B
Docker
20 lines
475 B
Docker
FROM oven/bun:1 AS frontend
|
|
WORKDIR /app/frontend
|
|
COPY frontend/ .
|
|
RUN bun install && bun run build
|
|
|
|
FROM golang:1.24-alpine AS backend
|
|
WORKDIR /src
|
|
COPY go.mod go.sum ./
|
|
RUN go mod download
|
|
COPY . .
|
|
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /paliad ./cmd/server
|
|
|
|
FROM alpine:3.21
|
|
RUN apk add --no-cache ca-certificates openssh-client
|
|
WORKDIR /app
|
|
COPY --from=backend /paliad /app/paliad
|
|
COPY --from=frontend /app/frontend/dist /app/dist
|
|
EXPOSE 8080
|
|
CMD ["/app/paliad"]
|