This repository was archived by the owner on Sep 8, 2022. It is now read-only.
This repository was archived by the owner on Sep 8, 2022. It is now read-only.
bug: directory structure inside layer zip is wrong #35
Closed
Description
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.