Skip to content

Commit

Permalink
Add requirements.txt provisioner to Packer configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed May 2, 2025
1 parent 263003e commit c650e56
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packer.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ build {
destination = "/var/task/app.py"
}

provisioner "file" {
source = "./requirements.txt"
destination = "/var/task/requirements.txt"
}

provisioner "shell" {
inline = [
"ls -la /var/task", # Debug: List contents
Expand Down

0 comments on commit c650e56

Please sign in to comment.