🔧 Yet another fix for sharp
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user