Skip to content

Commit

Permalink
chore: ignore cdk out
Browse files Browse the repository at this point in the history
  • Loading branch information
phuwin committed Jul 1, 2022
1 parent 6cfdac7 commit 0339040
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cdk/lib/cdk-stack.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CodePipeline, CodePipelineSource, ShellStep } from 'aws-cdk-lib/pipelines';
import { Stack, StackProps } from 'aws-cdk-lib';
import { IgnoreMode, Stack, StackProps } from 'aws-cdk-lib';
import { Construct } from 'constructs';


Expand Down Expand Up @@ -33,6 +33,8 @@ export class CdkStack extends Stack {
// create an image from ../Dockerfile
const image = new DockerImageAsset(this, 'DockerImage', {
directory: '../',
exclude: ['cdk.out', 'cdk'],
ignoreMode: IgnoreMode.DOCKER,
});

// Create a load-balanced Fargate service and make it public
Expand Down

0 comments on commit 0339040

Please sign in to comment.