Skip to content

Commit c06abfa

Browse files
committed
updates to the readme, inclusion of both x64 and arm64 - debug
1 parent 94b178e commit c06abfa

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Dockerfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,13 @@ COPY package.json package-lock.json webpack.config.js ./
2020
# Install dependencies
2121
RUN npm --no-optional --no-audit --progress=false --arch=${TARGET_ARCH} --platform=${TARGET_PLATFORM} install
2222

23-
# Run webpack, passing the TARGET_ARCH environment variable
24-
# Webpack config will use this to create arch-specific output
23+
# --- TEMPORARY DEBUG STEP ---
24+
# List the FULL contents of the sharp directory AFTER install
25+
RUN echo ">>> Listing FULL contents of /build/node_modules/sharp/ after install <<<" && \
26+
ls -lR /build/node_modules/sharp/ || echo "Sharp directory listing failed?"
27+
# --- END TEMPORARY DEBUG STEP ---
28+
29+
# Run webpack (this will likely still error, but we need the listing first)
2530
RUN TARGET_ARCH=${TARGET_ARCH} node ./node_modules/webpack/bin/webpack.js
2631

2732
# --- Smoke Test ---

0 commit comments

Comments
 (0)