modified: cdk Dockerfile
This commit is contained in:
parent
6e7c7da55b
commit
eca7d40c99
1 changed files with 2 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ export class EcrRepository extends Construct {
|
||||||
// Create Docker Image Asset
|
// Create Docker Image Asset
|
||||||
const dockerFrontEndImageAsset = new DockerImageAsset(this, "DockerFrontEndImageAsset", {
|
const dockerFrontEndImageAsset = new DockerImageAsset(this, "DockerFrontEndImageAsset", {
|
||||||
directory: frontendPath,
|
directory: frontendPath,
|
||||||
file:"dev.Dockerfile",
|
file:"cdk.Dockerfile",
|
||||||
buildArgs:{
|
buildArgs:{
|
||||||
"BACKEND_URL":`http://backend.${props.cloudmapNamespace.namespaceName}:7860`
|
"BACKEND_URL":`http://backend.${props.cloudmapNamespace.namespaceName}:7860`
|
||||||
},
|
},
|
||||||
|
|
@ -57,7 +57,7 @@ export class EcrRepository extends Construct {
|
||||||
});
|
});
|
||||||
const dockerBackEndImageAsset = new DockerImageAsset(this, "DockerBackEndImageAsset", {
|
const dockerBackEndImageAsset = new DockerImageAsset(this, "DockerBackEndImageAsset", {
|
||||||
directory: backendPath,
|
directory: backendPath,
|
||||||
file:"dev.Dockerfile",
|
file:"cdk.Dockerfile",
|
||||||
exclude: excludeDir,
|
exclude: excludeDir,
|
||||||
platform: imagePlatform,
|
platform: imagePlatform,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue