File tree 2 files changed +13
-0
lines changed
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
135
135
RUN yarn install
136
136
RUN yarn build
137
137
138
+ WORKDIR /lowcoder-client/packages/lowcoder-sdk-webpack-bundle
139
+ RUN yarn install
140
+ RUN yarn build
141
+
138
142
# #
139
143
# # Intermediary Lowcoder client image
140
144
# #
@@ -156,6 +160,8 @@ COPY --chown=lowcoder:lowcoder --from=build-client /lowcoder-client/packages/low
156
160
COPY --chown=lowcoder:lowcoder --from=build-client /lowcoder-client/packages/lowcoder-comps/lowcoder-comps /lowcoder/client-comps
157
161
# Copy lowcoder SDK
158
162
COPY --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
159
165
160
166
161
167
# Copy additional nginx init scripts
Original file line number Diff line number Diff line change 26
26
expires 1M;
27
27
}
28
28
29
+ location /embed {
30
+ try_files $uri =404;
31
+
32
+ alias /lowcoder/client-embed;
33
+ expires 1M;
34
+ }
35
+
29
36
location /assets {
30
37
try_files $uri =404;
31
38
You can’t perform that action at this time.
0 commit comments