Comments (2)
The error you're encountering with the sharp
module during your Docker build is likely due to it failing to download the libvips
library from GitHub's servers. This can happen because of network connectivity issues or a proxy blocking access to GitHub.
To work around this, you can specify an alternative URL for downloading libvips
by setting the SHARP_DIST_BASE_URL
environment variable in your Dockerfile. Here's an example of how to do it:
ENV SHARP_DIST_BASE_URL="https://your-alternative-url.com/"
Replace "https://your-alternative-url.com/"
with the URL of your alternative source for libvips
.
Additionally, since you're using an Alpine Linux base image, you might need to install the vips-dev
package to resolve any issues related to compiling the native dependencies required by sharp
. Add this line to your Dockerfile before installing Node.js dependencies:
RUN apk add --update --no-cache vips-dev
This ensures the necessary libraries for sharp
are available, potentially resolving the installation issues. For more detailed information on system dependencies for sharp
, refer to the sharp installation guide.
If you continue to face issues or have any more questions, feel free to ask.
Details
Sources
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a π if this is helpful and π if it is irrelevant.
To continue the conversation, mention @dosu.
from quivr.
I have added some info to Dockerfile of the frontend program, and i exce success.
the info as:
RUN apk add --update --no-cache vips-dev fftw-dev build-base
from quivr.
Related Issues (20)
- Implement Realtime on Knowledge Table HOT 1
- Display Knowledge status on knowledge tab in Realtime HOT 1
- Notification Badge Red when new notification HOT 1
- Add Bulk Id in notification Backend and upload/crawl routes HOT 1
- Bulking of Sync, Uploads, Crawl HOT 1
- Display Bulk Notifications with dropdown for errors and loading bar HOT 1
- Mention to the user the brain is processing when he selects the brain HOT 1
- When brain is processing files, display a modal ensuring he still wants to upload new knowledge HOT 1
- Fix docker container backend CI HOT 1
- Separate core quivr models HOT 1
- Define Broker service abstraction HOT 1
- Integrate LeParser to Quivr HOT 1
- Rewrite get_current_user quivr_core HOT 1
- How do I run the Ollama [Bug]: HOT 3
- BUG: ChatHistory get async connection close HOT 3
- [Bug]: An error occurred while processing the file: 'File' object has no attribute 'file' HOT 4
- Refacto the File class HOT 1
- Enhanced Parsing HOT 1
- Rewrite the Neuron class HOT 1
- Parse celery config from env HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quivr.