diff --git a/Earthfile b/Earthfile index 6b7e739..deb6391 100644 --- a/Earthfile +++ b/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