File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,10 @@ WORKDIR /lowcoder-client/packages/lowcoder-sdk
135135RUN yarn install
136136RUN yarn build
137137
138+ WORKDIR /lowcoder-client/packages/lowcoder-sdk-webpack-bundle
139+ RUN yarn install
140+ RUN yarn build
141+
138142# #
139143# # Intermediary Lowcoder client image
140144# #
@@ -156,6 +160,8 @@ COPY --chown=lowcoder:lowcoder --from=build-client /lowcoder-client/packages/low
156160COPY --chown=lowcoder:lowcoder --from=build-client /lowcoder-client/packages/lowcoder-comps/lowcoder-comps /lowcoder/client-comps
157161# Copy lowcoder SDK
158162COPY --chown=lowcoder:lowcoder --from=build-client /lowcoder-client/packages/lowcoder-sdk /lowcoder/client-sdk
163+ # Copy lowcoder SDK webpack bundle
164+ COPY --chown=lowcoder:lowcoder --from=build-client /lowcoder-client/packages/lowcoder-sdk-webpack-bundle/dist /lowcoder/client-embed
159165
160166
161167# Copy additional nginx init scripts
Original file line number Diff line number Diff line change 2626 expires 1M;
2727 }
2828
29+ location /embed {
30+ try_files $uri =404;
31+
32+ alias /lowcoder/client-embed;
33+ expires 1M;
34+ }
35+
2936 location /assets {
3037 try_files $uri =404;
3138
You can’t perform that action at this time.
0 commit comments