Skip to content

Commit

Permalink
Update build-container.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
amirnd51 authored Jul 24, 2024
1 parent db26d36 commit bb04309
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/build-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if [ ! -f "$DOCKERFILE" ]; then
die_with_message "Dockerfile ${DOCKERFILE} does not exist"
fi

docker build -t "mlmodelscope-$TARGET:$VERSION" --file "$DOCKERFILE" "$TARGET_DIR"
docker tag "mlmodelscope-$TARGET:$VERSION" "mlmodelscope-$TARGET:latest"
docker build -t "mlmodelscope-api:$VERSION" --file "$DOCKERFILE" "$TARGET_DIR"
docker tag "mlmodelscope-api:$VERSION" "mlmodelscope-api:latest"

cleanup_and_exit
cleanup_and_exit

0 comments on commit bb04309

Please sign in to comment.