🔧 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 # Install application dependencies
RUN npm install RUN npm install
# Clear npm cache and install sharp with build-from-source # Install sharp with proper platform configuration
RUN npm cache clean --force RUN npm install --force --sharp --platform=linux/arm64
RUN npm install --force @img/sharp-linuxmusl-arm64
# Install global dependencies # Install global dependencies
RUN npm install -g typescript ts-node RUN npm install -g typescript ts-node