简体   繁体   中英

multer-sharp-s3 not running with docker node alpine

Docker restarts after

 require('multer-sharp-s3');
 //or
 require('sharp');

lovell/sharp stops Node docker without logging any error

Docker Restarting (139) 37 seconds ago

Github issue: https://github.com/ikhsanalatsary/multer-sharp-s3/issues/31

SOLVED

for Nodejs Docker use

FROM lambci/lambda:build-nodejs12.x

it works fine with cpp support

Documentation source https://github.com/lovell/sharp/blob/master/docs/install.md

The multer-sharp-s3 not mentioned any docker requirement neither logged any error

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM