Drop duplicate target

add/first-example v0.4
mudler 2 years ago
parent 999676b106
commit a23deb5ec7
  1. 9
      Earthfile

@ -20,15 +20,6 @@ build:
RUN C_INCLUDE_PATH=/build/llama LIBRARY_PATH=/build/llama go build -o llama-cli ./
SAVE ARTIFACT llama-cli AS LOCAL llama-cli
image:
FROM +go-deps
ARG IMAGE=alpaca-cli
COPY +model-image/model.bin /model.bin
COPY +build/llama-cli /llama-cli
ENV MODEL_PATH=/model.bin
ENTRYPOINT [ "/llama-cli" ]
SAVE IMAGE --push $IMAGE
image:
FROM +go-deps
ARG IMAGE=alpaca-cli-nomodel

Loading…
Cancel
Save