File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -91,8 +91,12 @@ buildVars.forEach(({ name, defaultValue }) => {
91
91
shell . env [ name ] = shell . env [ name ] ?? defaultValue ;
92
92
} ) ;
93
93
94
- shell . exec ( `BUILD_TARGET=browserCheck yarn workspace lowcoder build` , { fatal : true } ) ;
95
- shell . exec ( `yarn workspace lowcoder build` , { fatal : true } ) ;
94
+ try {
95
+ shell . exec ( `BUILD_TARGET=browserCheck yarn workspace lowcoder build` , { fatal : true } ) ;
96
+ shell . exec ( `yarn workspace lowcoder build` , { fatal : true } ) ;
97
+ } catch ( e ) {
98
+ console . error ( "Command failed: " , e . message ) ;
99
+ }
96
100
97
101
if ( process . env . REACT_APP_BUNDLE_BUILTIN_PLUGIN ) {
98
102
for ( const pluginName of builtinPlugins ) {
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ RUN apt-get update \
68
68
# Copy and build the node-service app
69
69
COPY server/node-service/ /lowcoder/node-service/app/
70
70
WORKDIR /lowcoder/node-service/app/
71
- RUN yarn --immutable
71
+ RUN yarn --immutable --inline-builds
72
72
RUN yarn build
73
73
74
74
# Copy startup script
@@ -118,7 +118,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends curl ca-certifi
118
118
# Build client
119
119
COPY ./client /lowcoder-client
120
120
WORKDIR /lowcoder-client
121
- RUN yarn --immutable
121
+ RUN yarn --immutable --inline-builds
122
122
123
123
ARG REACT_APP_COMMIT_ID=test
124
124
ARG REACT_APP_ENV=production
You can’t perform that action at this time.
0 commit comments