Skip to content

Commit

Permalink
Specified the dockerfile location
Browse files Browse the repository at this point in the history
  • Loading branch information
haohangyan committed Jan 23, 2025
1 parent 349bb55 commit 955b991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ phases:
- docker login -u "${DOCKERHUB_USER}" -p "${DOCKERHUB_PWD}"
- echo Build started on `date`
- echo Building the Docker image...
- docker build --build-arg BUILD_BRANCH=$BUILD_BRANCH --build-arg READING_BRANCH=$READING_BRANCH -t $IMAGE_REPO_NAME:$IMAGE_TAG .
- docker build --build-arg BUILD_BRANCH=$BUILD_BRANCH --build-arg READING_BRANCH=$READING_BRANCH -t $IMAGE_REPO_NAME:$IMAGE_TAG -f docker/Dockerfile .
- docker tag $IMAGE_REPO_NAME:$IMAGE_TAG $AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$IMAGE_REPO_NAME:$IMAGE_TAG
post_build:
commands:
Expand Down

0 comments on commit 955b991

Please sign in to comment.