fix(model selection): deploys from dotfiles-less machines no longer wipe the remote baked pi config (deploy.sh excludes docker/pi-agent); resync endpoint fixed for in-container runs (bash/rsync/python3/npm in daemon image, cross-device copy instead of rename)
This commit is contained in:
+3
-1
@@ -10,7 +10,9 @@ COPY daemon/ ./
|
||||
RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /out/lvmh-daemon .
|
||||
|
||||
FROM alpine:3.21
|
||||
RUN apk add --no-cache ca-certificates git
|
||||
# bash + rsync: POST /api/pi-config/resync runs deploy/rsync-pi-agent.sh
|
||||
# inside this container (alpine has neither by default)
|
||||
RUN apk add --no-cache ca-certificates git bash rsync python3 nodejs npm
|
||||
WORKDIR /app
|
||||
COPY --from=build /out/lvmh-daemon /app/lvmh-daemon
|
||||
# Placeholder UI; replace via build (cp web/dist daemon/webdist) or mount at
|
||||
|
||||
Reference in New Issue
Block a user