简体   繁体   English

multer-sharp-s3 未与 docker 节点 alpine 一起运行

[英]multer-sharp-s3 not running with docker node alpine

Docker restarts after Docker 重启后

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

lovell/sharp stops Node docker without logging any error lovell/sharp停止节点 docker 而不记录任何错误

Docker Restarting (139) 37 seconds ago

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

SOLVED解决了

for Nodejs Docker use对于 Nodejs Docker 使用

FROM lambci/lambda:build-nodejs12.x

it works fine with cpp support它适用于 cpp 支持

Documentation source https://github.com/lovell/sharp/blob/master/docs/install.md文档来源https://github.com/lovell/sharp/blob/master/docs/install.md

The multer-sharp-s3 not mentioned any docker requirement neither logged any error multer-sharp-s3没有提到任何 docker 要求也没有记录任何错误

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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