Skip to content

Commit 181591c

Browse files
fix: dockerfile
1 parent e38e402 commit 181591c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ RUN apt-get update && apt-get install curl gnupg ffmpeg -y \
1212
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
1313
&& apt-get update \
1414
&& apt-get install google-chrome-stable -y --no-install-recommends \
15+
&& apt-get install -y libvips-dev \
1516
&& rm -rf /var/lib/apt/lists/*
1617
# Copy package.json and package-lock.json (if available)
1718
COPY package*.json ./
1819

1920
# Install dependencies
20-
RUN npm install
21+
RUN npm install --os=linux --cpu=x64 sharp
2122

2223
# Copy the rest of your app's source code
2324
COPY . .

0 commit comments

Comments
 (0)