Created
September 19, 2017 19:41
-
-
Save chr-fritz/0081aea64484987f3795b0748d998e5d to your computer and use it in GitHub Desktop.
esh/dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM openjdk:8-jre-alpine | |
ENV DEBUG_PORT=5005 HTTPS_PORT=8443 HTTP_PORT=8080 | |
WORKDIR /opt/esh/runtime/concierge | |
ADD /target/smarthome-packaging-sample-*.zip /tmp/ | |
RUN apk add --update unzip \ | |
&& mkdir -p /opt/esh/conf/services \ | |
&& unzip /tmp/smarthome-packaging-sample-*.zip -d /opt/esh \ | |
&& chmod +x /opt/esh/runtime/concierge/start.sh \ | |
&& rm -f /tmp/smarthome-packaging-sample-*.zip \ | |
&& apk del wget \ | |
&& rm -rf /var/cache/apk/* | |
EXPOSE 5005 8080 | |
ENTRYPOINT exec /opt/esh/runtime/concierge/start.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment