Posted 10 May 2022, 1:01 am EST
Hello,
Our Angular project is compiling to .js file and serve by java application
First part of creating js file from angular application:
FROM node:12
- RUN npm run $BUILD_TYPE
$BUILD_TYPE:
Example
“build-prod”: “node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng build --configuration production”,
Second part compiling java application as host:
-
COPY --from=NG_IMG /code/dist/coreng /code/src/main/resources/static – copy all files
-
RUN gradle bootJar – create jar file
-
CMD java -Dspring.profiles.active=${BUILD_TYPE} -jar /app/spring-boot-application.jar – run jar file
Server architecture:
k8s master version: v1.21.5
node version : v1.21.5 - v1.22.2
depending on the load
I have tried to bind events to the designer like in your example and again on my local machine everything works fine but after deploy it seems like events are not bound at all.
Regards
Damian