Error in chalice logs while running it on LocalStack inside docker container
- Dominant language
- Python
- Stars
- 11.1k
- Forks
- 1k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 2
Description
We are using `chalice-local deploy` to deploy our chalice app in LocalStack lambda running inside docker container.
It successfully deployed in LocalStack with no errors.
lambda ARN also generated.
But our app is not running as it should be, so while debugging we found error in `chalice logs` by running it inside the docker contained at the app folder.
So the error says it doesn't found the `config.json` file which is inside the `.chalice` folder.
We have this file in our repo.
But the problem is the when deploying chalice does not copy the `.chalice` folder into docker container, i guess so the error occurred.
This is the full traceback screenshot of error (inside the container) :

Contributor guide
Research direction
Start by reproducing the deployment with `chalice-local deploy` in the LocalStack Docker container, then run `chalice logs` from the app folder. Inspect whether `.chalice/config.json` is available inside the container; done means the deployed app can be debugged with `chalice logs` without the missing-file error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- cloud, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100