From bc14e2fbdc8aa4331bef5f3e64a7558c8da295c3 Mon Sep 17 00:00:00 2001 From: Michael Nguyen <michael.nguyen@parivedasolutions.com> Date: Wed, 27 Nov 2019 09:04:22 -0600 Subject: [PATCH] updated dockerfile --- provider/indexer-aws/CloudFormation/Automated/ecs.yml | 2 +- provider/indexer-aws/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/provider/indexer-aws/CloudFormation/Automated/ecs.yml b/provider/indexer-aws/CloudFormation/Automated/ecs.yml index 55a5edc80..6d7c64be1 100644 --- a/provider/indexer-aws/CloudFormation/Automated/ecs.yml +++ b/provider/indexer-aws/CloudFormation/Automated/ecs.yml @@ -40,7 +40,7 @@ Parameters: DesiredCapacity: Description: The default number of instances to launch in the ECS cluster. Type: Number - Default: '1' + Default: '0' MaxSize: Description: Maximum number of instances that can be launched in the ECS cluster. diff --git a/provider/indexer-aws/Dockerfile b/provider/indexer-aws/Dockerfile index 207019b41..43af5625a 100644 --- a/provider/indexer-aws/Dockerfile +++ b/provider/indexer-aws/Dockerfile @@ -1,7 +1,7 @@ FROM amazoncorretto:8 WORKDIR / -COPY provider/storage-aws/target/storage-aws-0.0.1-SNAPSHOT-spring-boot.jar storage-aws-0.0.1-SNAPSHOT-spring-boot.jar +COPY provider/storage-aws/target/indexer-aws-0.0.1-SNAPSHOT-spring-boot.jar indexer-aws-0.0.1-SNAPSHOT-spring-boot.jar EXPOSE 8080 -CMD ["java","-jar", "storage-aws-0.0.1-SNAPSHOT-spring-boot.jar"] \ No newline at end of file +CMD ["java","-jar", "indexer-aws-0.0.1-SNAPSHOT-spring-boot.jar"] \ No newline at end of file -- GitLab