Skip to content

Commit

Permalink
chore: Update build-container.sh to use mlmodelscope-api in docker bu…
Browse files Browse the repository at this point in the history
…ild command
  • Loading branch information
amirnd51 committed Jul 24, 2024
1 parent ed92f09 commit 1f12767
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ if [ ! -f "$DOCKERFILE" ]; then
die_with_message "Dockerfile ${DOCKERFILE} does not exist"
fi

IMAGE_NAME="$REGISTRY/$TARGET:$VERSION"
IMAGE_NAME="$REGISTRY/mlmodelscope-api:$VERSION"

docker build -t "$IMAGE_NAME" --file "$DOCKERFILE" "$TARGET_DIR"
docker tag "$IMAGE_NAME" "$REGISTRY/$TARGET:latest"
# docker tag "$IMAGE_NAME" "$REGISTRY/mlmodelscope-api:latest"

cleanup_and_exit

0 comments on commit 1f12767

Please sign in to comment.