yarn dev
serve -l 8080 build
curl https://v2.i996.me/22703837 | cmd
set GRAALVM_HOME=C:\Users\user\Desktop\Forrest\app\graalvm-ce-java17-22.3.2
Add below in top of %GRAALVM_HOME%\bin\native-image.cmd
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat" > nul
gradle nativeCompile
Or
%GRAALVM_HOME%\bin\native-image.cmd -jar build\libs\my_music-0.1-all.jar
Copy dist folder from client to src\main\resources
yarn build && copy /y dist\* ..\server-java-mn\src\main\resources\dist\
set frontend folder in static-resources in application.yml
paths: file:///app/dist
gradle dockerBuildNative
docker run -d -p 0.0.0.0:8080:8080 my_music
docker tag my_music repo.lab.varmeego.com/forrest.wen/cedb-tsw/login-service
docker push repo.lab.varmeego.com/forrest.wen/cedb-tsw/login-service
session 1: yarn build-watch
session 2: gradle build && java -jar build\libs\my_music-0.1-all.jar