🔧 Yet another fix for sharp

This commit is contained in:
2025-02-25 14:18:44 -05:00
parent 77d21d3046
commit bd62866340

View File

@@ -56,9 +56,8 @@ COPY tsconfig.json ./
# Install application dependencies
RUN npm install
# Clear npm cache and install sharp with build-from-source
RUN npm cache clean --force
RUN npm install --force @img/sharp-linuxmusl-arm64
# Install sharp with proper platform configuration
RUN npm install --force --sharp --platform=linux/arm64
# Install global dependencies
RUN npm install -g typescript ts-node