🪓 Attempting to get sharp installed in the image
This commit is contained in:
@@ -49,8 +49,9 @@ COPY tsconfig.json ./
|
|||||||
# Install application dependencies
|
# Install application dependencies
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
# Install sharp with platform-specific flags
|
# Clear npm cache and install sharp with build-from-source
|
||||||
RUN npm install --platform=linux --arch=x64 sharp
|
RUN npm cache clean --force
|
||||||
|
RUN npm install sharp --build-from-source
|
||||||
|
|
||||||
# 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