Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
fixed build command
Browse files Browse the repository at this point in the history
  • Loading branch information
filopedraz authored and casperdcl committed Aug 25, 2023
1 parent 19612e9 commit 435fe85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ build_cpu(){
docker buildx build ${@:3} \
--file ./docker/cpu/Dockerfile \
--build-arg="MODEL_ID=$MODEL_ID" \
--label="org.opencontainers.image.source=https://github.com/premAI-io/prem-services"
--label="org.opencontainers.image.source=https://github.com/premAI-io/prem-services" \
--tag $IMAGE:latest \
--tag $IMAGE:$VERSION \
--platform ${BUILDX_PLATFORM:-linux/arm64,linux/amd64} \
Expand All @@ -24,7 +24,7 @@ build_gpu(){
docker buildx build ${@:3} \
--file ./docker/gpu/Dockerfile \
--build-arg="MODEL_ID=$MODEL_ID" \
--label="org.opencontainers.image.source=https://github.com/premAI-io/prem-services"
--label="org.opencontainers.image.source=https://github.com/premAI-io/prem-services" \
--tag $IMAGE:latest \
--tag $IMAGE:$VERSION \
.
Expand Down

0 comments on commit 435fe85

Please sign in to comment.