enzostvs HF staff commited on
Commit
6188f29
β€’
1 Parent(s): 3b71df8
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -15,7 +15,7 @@ WORKDIR /usr/src/app
15
  COPY --chown=1000 package.json package-lock.json ./
16
 
17
  # Install dependencies
18
- RUN npm install
19
 
20
  # Copy the rest of the application files to the container
21
  COPY --chown=1000 . .
 
15
  COPY --chown=1000 package.json package-lock.json ./
16
 
17
  # Install dependencies
18
+ RUN npm install --include=optional sharp
19
 
20
  # Copy the rest of the application files to the container
21
  COPY --chown=1000 . .