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

Dockerfile doesnt run #1

Open
danpowell88 opened this issue Jan 5, 2019 · 3 comments
Open

Dockerfile doesnt run #1

danpowell88 opened this issue Jan 5, 2019 · 3 comments

Comments

@danpowell88
Copy link

It looks like the docker file should be pointing at the shell script since that specifies the default port, without it it just runs the jar and prints the usage information then closes

@PatrickVanRietschoten
Copy link

Same here...

@PatrickVanRietschoten
Copy link

Ended up copy-ing the Dockerfile and making some adjustments according to my needs

@bpons
Copy link

bpons commented Jun 3, 2019

You can just specify the port after the run command, it will be passed as an argument to the jar. "Any command line arguments passed to docker run will be appended to the entrypoint command, and will override all elements specified using CMD" (https://ryanwhocodes.com/blog/docker-entrypoint-cmd/)

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

3 participants