bug: directory structure inside layer zip is wrong
am29d opened this issue · comments
We currently use Code.fromDockerBuild
to build the layer during synth step and package the code. As a result everything that is inside /asset
folder during docker build step will be zipped. This mean the zip step inside the Dockerfile is unnecessary, because it will be zipped again by fromDockerBuild
method:
As a fix we can simply run pip install with a target /assets/python
and the python directory will be zipped.