Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
fix sharp
Browse files- 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 . .
|