Closed izhangzhihao closed 4 years ago
Hi, I'm just seen this error
Failed to write to log, write a: bad file descriptor
By doing almost the same things in python 3.7:
docker run -v "$PWD":/var/task lambci/lambda:build-python3.7 /bin/sh -c "pip install -r requirements.txt -t libs;cp /var/rapid/init /var/runtime/init;/var/runtime/init --bootstrap /var/runtime/bootstrap"
The command basically doing the missing part of the build image.
Did anyone know how to fix this?
If i choose to use the run image, it works:
docker run --rm -v "$PWD":/var/task -v build:/var/lang/lib/python3.7/site-packages lambci/lambda:python3.7 handler.handle '{}'
Hi, I'm just seen this error
By doing almost the same things in python 3.7:
The command basically doing the missing part of the build image.
Did anyone know how to fix this?