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

Payara Docker image improvement with Payara Server 172 #10

Open
OndroMih opened this issue May 24, 2017 · 0 comments
Open

Payara Docker image improvement with Payara Server 172 #10

OndroMih opened this issue May 24, 2017 · 0 comments

Comments

@OndroMih
Copy link

The ENTRYPOINT in payara/Dockerfile can be improved with the new --postbootcommandfile argument of the start-domain command, so that the Payara Server can be executed in the foreground as the main Docker process.

ENTRYPOINT echo deploy ${DEPLOYMENT_DIR}/${WAR} > deploy-command && \
           asadmin start-domain --verbose --postbootcommandfile deploy-command ${DOMAIN_NAME}

A more complex command to support deployment of all apps in a directory is used in the official Payara Docker Dockerfile and images hosted in the Docker hub

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

1 participant