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 - Passing production.conf #522

Closed
mfields106 opened this issue Mar 12, 2015 · 1 comment
Closed

Docker - Passing production.conf #522

mfields106 opened this issue Mar 12, 2015 · 1 comment
Labels
docker documentation Documentation should be extended or updated

Comments

@mfields106
Copy link

How can I accomplish as described on this site without staging and manually changing:

http://www.ronaldcirka.com/blog/2014/12/06/deploying-play-framework-to-elastic-beanstalk-in-docker/

I would like to add parameter "-Dconfig.resource=${configFile}"

FROM dockerfile/java
MAINTAINER John Doe [email protected]
ADD files /
WORKDIR /opt/docker
RUN ["chown", "-R", "daemon", "."]
USER daemon
ENTRYPOINT ["bin/myapp", "-Dconfig.resource=${configFile}"]
CMD []
EXPOSE 9000

@muuki88 muuki88 added documentation Documentation should be extended or updated docker labels Mar 12, 2015
@muuki88
Copy link
Contributor

muuki88 commented Mar 12, 2015

You have several options.

@muuki88 muuki88 closed this as completed Mar 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker documentation Documentation should be extended or updated
Projects
None yet
Development

No branches or pull requests

2 participants