mirror of
https://github.com/johndoe6345789/low-code-react-app-b.git
synced 2026-04-24 13:44:54 +00:00
Merge pull request #12 from johndoe6345789/copilot/run-docker-build-push-action
Fix ARM64 Docker build by using npm ci with optional dependencies
This commit is contained in:
@@ -11,9 +11,9 @@ COPY packages/spark-tools ./packages/spark-tools
|
||||
# Copy spark wrapper package
|
||||
COPY packages/spark ./packages/spark
|
||||
|
||||
# Install dependencies - npm ci doesn't fully support workspace protocol in all versions
|
||||
# So we use npm install which resolves workspaces correctly
|
||||
RUN npm install --legacy-peer-deps
|
||||
# Install dependencies with npm ci for consistent, reproducible builds
|
||||
# Include optional dependencies to ensure platform-specific binaries (like @rollup/rollup-linux-arm64-musl) are installed
|
||||
RUN npm ci --include=optional
|
||||
|
||||
# Copy remaining application files
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user