Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker: single root-context app #44

Open
WorldsEndless opened this issue Sep 1, 2016 · 1 comment
Open

Docker: single root-context app #44

WorldsEndless opened this issue Sep 1, 2016 · 1 comment

Comments

@WorldsEndless
Copy link

How can the Docker Wildfly setup be modified to just host a single, root-context app, so that a one-liner running the docker can expose the app at localhost:? This should arguably be a default option, I would think.

@sixcorners
Copy link

The command you run controls what context and how many apps you have. I'm not sure what setup needs to be different.
Instead of doing this

 FROM jboss/wildfly
 ADD *.war /opt/jboss/wildfly/standalone/deployments/

do this

 FROM jboss/wildfly
 ADD *.war /opt/jboss/wildfly/standalone/deployments/ROOT.war

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants