Skip to content

Instantly share code, notes, and snippets.

@bassemZohdy
Created February 21, 2015 17:33
Show Gist options
  • Save bassemZohdy/09122fb5acff6450246f to your computer and use it in GitHub Desktop.
Save bassemZohdy/09122fb5acff6450246f to your computer and use it in GitHub Desktop.
FROM codenvy/jdk7
EXPOSE 8080
ENV CODENVY_APP_PORT_8080_HTTP 8080
ADD $app$ /home/user/$app$
WORKDIR /home/user/
RUN unzip $app$ >/dev/null
CMD java -jar application.jar 2>&1 run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment