cuba-platform / documentation

CUBA Platform Documentation
https://www.cuba-platform.com
Creative Commons Attribution 4.0 International
26 stars 45 forks source link

UberJar root context path #720

Closed alexbudarov closed 4 years ago

alexbudarov commented 4 years ago

Environment

Description of the bug or enhancement

Question:

when using uberJar, can I easily set -contextName "" in order to have the app under the root directory? empty string seems to be not the right solution:

CMD ["java", "-Dapp.home=/usr/src/cuba/home", "-jar", "/usr/src/cuba/app.jar", "-contextName", ""]

Solution:

Try to set -contextName /

It's not mentioned in UberJar launching instructions.