Skip to content

Commit 47445d8

Browse files
author
Samyak Rout
committed
Test the Dockerfile build for the CI
1 parent 7993d3e commit 47445d8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,6 @@ terraform.tfstate.backup
3434
infra_as_code/terraform_generator/backend/configs/terraform-generator.json
3535
infra_as_code/terraform_generator/backend/configs/terraform-generator.json.example
3636

37-
**/output/**/*
37+
**/output/**/*
38+
39+
working-terraform-generator.json

infra_as_code/terraform_generator/backend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ RUN apt-get update && \
3333
COPY --from=builder /app/terraform-app /app/terraform-app
3434

3535
# Copy necessary configuration files and templates
36-
COPY configs/ /app/configs/
37-
COPY templates/ /app/templates/
36+
COPY --from=builder /app/configs/ /app/configs/
37+
COPY --from=builder /app/templates/ /app/templates/
3838

3939
# Expose any required ports (if applicable)
4040
# EXPOSE 8080

0 commit comments

Comments
 (0)