We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56aebbf commit 3f1f9d9Copy full SHA for 3f1f9d9
apps/api/buildspec.multistage.yml
@@ -15,12 +15,7 @@ phases:
15
commands:
16
- echo "Building Docker image with multi-stage build..."
17
- cd apps/api
18
- - docker build \
19
- --build-arg BUILDKIT_INLINE_CACHE=1 \
20
- --target production \
21
- -f Dockerfile.multistage \
22
- -t $ECR_REPOSITORY_URI:$IMAGE_TAG \
23
- ../..
+ - docker build --build-arg BUILDKIT_INLINE_CACHE=1 --target production -f Dockerfile.multistage -t $ECR_REPOSITORY_URI:$IMAGE_TAG ../..
24
- docker tag $ECR_REPOSITORY_URI:$IMAGE_TAG $ECR_REPOSITORY_URI:latest
25
26
post_build:
0 commit comments