build: fix backend build issue
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 58s
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 58s
should copy from deps stage when copying packages node_modules
This commit is contained in:
@@ -51,9 +51,9 @@ COPY apps/backend/package.json /app/apps/backend/
|
||||
|
||||
# Copy workspace packages
|
||||
COPY packages/jrpc /app/packages/jrpc
|
||||
COPY packages/jrpc/node_modules /app/packages/jrpc/node_modules
|
||||
COPY --from=deps /app/packages/jrpc/node_modules /app/packages/jrpc/node_modules
|
||||
COPY packages/zigbee /app/packages/zigbee
|
||||
COPY packages/zigbee/node_modules /app/packages/zigbee/node_modules
|
||||
COPY --from=deps /app/packages/zigbee/node_modules /app/packages/zigbee/node_modules
|
||||
|
||||
# Copy backend dependencies
|
||||
COPY --from=deps /app/node_modules /app/node_modules
|
||||
|
||||
Reference in New Issue
Block a user