Closed georgy95 closed 4 years ago
Follow the link that the error gives.
This question has been asked several times on here before; you need to use xvfb
to create an OpenGL context in environments where you don't have GPU access.
@skiler07 Follow this link: https://github.com/stackgl/headless-gl#supported-platforms-and-nodejs-versions to understand the issue.
Essentially, add this to your dockerfile to achieve whats said in the link:
run apt-get install -y build-essential libxi-dev libglu1-mesa-dev libglew-dev pkg-config
RUN apt-get install -y dumb-init xvfb
RUN chmod 0777 /usr/bin/dumb-init
ENTRYPOINT ["/usr/bin/dumb-init", "--", "xvfb-run", "-s", "-ac -screen 0 1280x1024x24"]
CMD ["node"]
Thank you
apt-get install -y dumb-init xvfb
Ubuntu 16.04.5 Unable to locate package dumb-init
Look here: https://github.com/Yelp/dumb-init
Look here: https://github.com/Yelp/dumb-init
thanks~
When I test locally - works fine, however fails to work inside a Docker container.
Dockerfile
The stack trace I get when running
ffmpeg-concat file1.mp4 file2.mp4 -o out.mp4
is: