🪓 Attempting to get sharp installed in the image

This commit is contained in:
2025-02-24 15:20:54 -05:00
parent b0c56f65c4
commit 09d7fa2772

View File

@@ -49,8 +49,9 @@ COPY tsconfig.json ./
# Install application dependencies
RUN npm install
# Install sharp with platform-specific flags
RUN npm install --platform=linux --arch=x64 sharp
# Clear npm cache and install sharp with build-from-source
RUN npm cache clean --force
RUN npm install sharp --build-from-source
# Install global dependencies
RUN npm install -g typescript ts-node