We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e38e402 commit 181591cCopy full SHA for 181591c
1 file changed
Dockerfile
@@ -12,12 +12,13 @@ RUN apt-get update && apt-get install curl gnupg ffmpeg -y \
12
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
13
&& apt-get update \
14
&& apt-get install google-chrome-stable -y --no-install-recommends \
15
+ && apt-get install -y libvips-dev \
16
&& rm -rf /var/lib/apt/lists/*
17
# Copy package.json and package-lock.json (if available)
18
COPY package*.json ./
19
20
# Install dependencies
-RUN npm install
21
+RUN npm install --os=linux --cpu=x64 sharp
22
23
# Copy the rest of your app's source code
24
COPY . .
0 commit comments