try copy from builder

Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
This commit is contained in:
Simon Smith 2025-10-26 22:52:14 +00:00
parent e905fa56de
commit 0edfe5ab4b

View File

@ -50,8 +50,7 @@ RUN apk update && \
apk add --no-cache --update \
bash gcc g++ jq make nodejs npm python3 tzdata
RUN mkdir -p /opt/meshcentral
COPY ./package.json /opt/meshcentral/package.json
COPY --from=builder /opt/meshcentral/meshcentral /opt/meshcentral/meshcentral
WORKDIR /opt/meshcentral
RUN cat /opt/meshcentral/package.json