File tree Expand file tree Collapse file tree 22 files changed +66
-139
lines changed
Expand file tree Collapse file tree 22 files changed +66
-139
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends gosu \
3737COPY --chown=lowcoder:lowcoder --from=build-api-service /lowcoder/api-service /lowcoder/api-service
3838
3939# Copy lowcoder api service app, dependencies and libs
40- COPY --chown=lowcoder:lowcoder --from=build-api-service /lowcoder-server/distribution/target/lowcoder-api-service-bin/app /lowcoder/api-service/app
41- COPY --chown=lowcoder:lowcoder --from=build-api-service /lowcoder-server/distribution/target/lowcoder-api-service-bin/dependencies /lowcoder/api-service/dependencies
40+ COPY --chown=lowcoder:lowcoder --from=build-api-service /lowcoder-server/distribution/target/lowcoder-api-service-bin/lowcoder-api-service.jar /lowcoder/api-service/lowcoder-api-service.jar
4241COPY --chown=lowcoder:lowcoder --from=build-api-service /lowcoder-server/distribution/target/lowcoder-api-service-bin/libs /lowcoder/api-service/libs
4342COPY --chown=lowcoder:lowcoder --from=build-api-service /lowcoder-server/distribution/target/lowcoder-api-service-bin/plugins /lowcoder/api-service/plugins
44- COPY --chown=lowcoder:lowcoder --from=build-api-service /lowcoder-server/distribution/target/lowcoder-api-service-bin/set-classpath.sh /lowcoder/api-service/set-classpath.sh
4543
4644EXPOSE 8080
4745CMD [ "/bin/bash" , "/lowcoder/api-service/entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ echo "Initializing api-service..."
1212if [ -z $JAVA_HOME ]; then
1313 JAVA_HOME=` dirname $( dirname $( readlink -f $( which javac) ) ) `
1414fi ;
15- APP_JAR=" ${APP_JAR:=/ lowcoder/ api-service/ server .jar} "
15+ APP_JAR=" ${APP_JAR:=/ lowcoder/ api-service/ lowcoder-api-service .jar} "
1616JAVA_OPTS=" ${JAVA_OPTS:= } "
1717CUSTOM_APP_PROPERTIES=" ${APP_PROPERTIES} "
1818CONTEXT_PATH=${CONTEXT_PATH:=/ }
@@ -27,7 +27,6 @@ ${JAVA_HOME}/bin/java -version
2727echo
2828
2929cd /lowcoder/api-service
30- source set-classpath.sh
3130
3231exec gosu ${USER_ID} :${GROUP_ID} ${JAVA_HOME} /bin/java \
3332 -Djava.util.prefs.userRoot=/tmp \
@@ -36,7 +35,6 @@ exec gosu ${USER_ID}:${GROUP_ID} ${JAVA_HOME}/bin/java \
3635 -Dlog4j2.formatMsgNoLookups=true \
3736 -Dspring.config.location=" file:///lowcoder/api-service/config/application.yaml" \
3837 --add-opens java.base/java.nio=ALL-UNNAMED \
39- -cp " ${LOWCODER_CLASSPATH:= .} " \
4038 ${JAVA_OPTS} \
41- org.lowcoder.api.ServerApplication --spring.webflux.base-path=${CONTEXT_PATH} ${CUSTOM_APP_PROPERTIES}
39+ -jar ${APP_JAR} --spring.webflux.base-path=${CONTEXT_PATH} ${CUSTOM_APP_PROPERTIES}
4240
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 99 </parent >
1010
1111 <modelVersion >4.0.0</modelVersion >
12+ <groupId >org.lowcoder.plugins</groupId >
1213 <artifactId >clickHousePlugin</artifactId >
1314 <packaging >jar</packaging >
1415
Original file line number Diff line number Diff line change 99 </parent >
1010
1111 <modelVersion >4.0.0</modelVersion >
12+ <groupId >org.lowcoder.plugins</groupId >
1213 <artifactId >elasticSearchPlugin</artifactId >
1314
1415 <name >elasticSearchPlugin</name >
Original file line number Diff line number Diff line change 99 </parent >
1010
1111 <modelVersion >4.0.0</modelVersion >
12+ <groupId >org.lowcoder.plugins</groupId >
1213 <artifactId >googleSheetsPlugin</artifactId >
1314
1415 <name >googleSheetsPlugin</name >
Original file line number Diff line number Diff line change 99 </parent >
1010 <modelVersion >4.0.0</modelVersion >
1111
12+ <groupId >org.lowcoder.plugins</groupId >
1213 <artifactId >lowcoderApiPlugin</artifactId >
1314
1415 <properties >
Original file line number Diff line number Diff line change 99 </parent >
1010
1111 <modelVersion >4.0.0</modelVersion >
12+ <groupId >org.lowcoder.plugins</groupId >
1213 <artifactId >mongoPlugin</artifactId >
1314
1415 <name >mongoPlugin</name >
Original file line number Diff line number Diff line change 99 </parent >
1010
1111 <modelVersion >4.0.0</modelVersion >
12+ <groupId >org.lowcoder.plugins</groupId >
1213 <artifactId >mssqlPlugin</artifactId >
1314
1415 <name >mssqlPlugin</name >
You can’t perform that action at this time.
0 commit comments