ci: docker_tag=ext - Fix Dockerfile to verify pkg files during build
This commit is contained in:
parent
2379af9505
commit
f7b30cb495
@ -49,6 +49,9 @@ COPY . .
|
||||
# Ensure pkg directory exists and has correct permissions
|
||||
RUN mkdir -p pkg && chmod -R 755 pkg
|
||||
|
||||
# Verify pkg files are present
|
||||
RUN ls -la pkg/ && file pkg/sdk_client_bg.wasm
|
||||
|
||||
# Copy the provided prebuilt WASM package (ESM)
|
||||
# The directory pkg is provided in the build context
|
||||
# and already contains sdk_client.js (ES module) and wasm
|
||||
|
Loading…
x
Reference in New Issue
Block a user