Skip to content

Commit

Permalink
build: add sharp package (#28)
Browse files Browse the repository at this point in the history
* build: add sharp package

* install vips for image optimization

---------

Co-authored-by: Mahdi Khanzadi <[email protected]>
  • Loading branch information
sina-saeedi and khanzadimahdi authored Nov 15, 2024
1 parent 11b84fe commit cdf44e3
Show file tree
Hide file tree
Showing 3 changed files with 435 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:20.18-alpine AS base
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
RUN apk add --no-cache libc6-compat vips
WORKDIR /opt/app

FROM base AS install
Expand Down
Loading

0 comments on commit cdf44e3

Please sign in to comment.