Skip to content

Commit 5ddea7b

Browse files
committed
moved dockerfile
1 parent f2658cb commit 5ddea7b

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ FROM base AS build
2525
WORKDIR /var/task
2626

2727
# Copy shared source code
28-
COPY shared/src/common ./common
28+
COPY ../shared/src/common ./common
2929

3030
# Copy id_sync source code
31-
COPY id_sync/src .
31+
COPY src .
3232

3333
# Set correct permissions
3434
RUN chmod 644 $(find . -type f) && chmod 755 $(find . -type d)

terraform/id_sync_lambda.tf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@ module "id_sync_docker_image" {
4040
source = "terraform-aws-modules/lambda/aws//modules/docker-build"
4141
version = "8.0.1"
4242

43-
create_ecr_repo = false
44-
ecr_repo = aws_ecr_repository.id_sync_lambda_repository.name
45-
docker_file_path = "id_sync.Dockerfile"
43+
create_ecr_repo = false
44+
ecr_repo = aws_ecr_repository.id_sync_lambda_repository.name
4645
ecr_repo_lifecycle_policy = jsonencode({
4746
"rules" : [
4847
{

0 commit comments

Comments
 (0)