Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libgobject-2.0.so.0: cannot open shared object file: No such file or directory #142

Open
hiteshlinge-bh opened this issue Aug 5, 2021 · 1 comment

Comments

@hiteshlinge-bh
Copy link

Hi,
Am getting below error while running the application on docker
It runs fine on local

/my-pdf-appp/node_modules/puppeteer/.local-chromium/linux-818858/chrome-linux/chrome: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory

Can you please help resolving this issue.

Thanks

@hiteshlinge-bh
Copy link
Author

My DockerFile

FROM node:12.14.0-buster-slim

RUN mkdir -p /my-ddf-app
COPY ./ /my-ddf-app
WORKDIR /my-ddf-app

RUN cd /my-ddf-app &&
npm install --loglevel verbose

EXPOSE 3093

CMD npm run production

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant