Skip to content

Instantly share code, notes, and snippets.

@joantune
Created August 10, 2014 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joantune/11027b82fb9a1c3e34f9 to your computer and use it in GitHub Desktop.
Save joantune/11027b82fb9a1c3e34f9 to your computer and use it in GitHub Desktop.
Dockerfile for deployment of a Play app
FROM joantune/morningreader-base
MAINTAINER joantune @joantune joao.antunes@tagus.ist.utl.pt
USER root
WORKDIR /home/player/
RUN mkdir -p /home/player/Feedburner
ADD . /home/player/Feedburner/
RUN chown -R player Feedburner
USER player
EXPOSE 9000
CMD ["/home/player/Feedburner/target/universal/stage/bin/feedburner", "-Dcom.ning.http.client.AsyncHttpClientConfig.defaultMaxRedirects=15","-mem","1024", "-J-server"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment