正如我上面提到的,当我运行容器时,我得到一个错误。当我正常运行它时,它可以工作,没有问题。
我的容器运行代码:docker run --rm -i -t -p 8080:4444 9fa71c8ca9ba
我得到的错误。 发生了一个错误:ffmpeg退出,代码127
APP.JS
https://pastebin.ubuntu.com/p/znCRWz2rgx/
Dockerfile
:
FROM node:10
COPY . /app
WORKDIR /app
RUN npm install
RUN npm install fluent-ffmpeg
RUN npm install os
RUN npm install express
RUN npm install --save @google-cloud/text-to-speech
RUN npm install --save @google-cloud/translate