FROM openjdk:8-jre-slim WORKDIR /opt ADD https://www.ubnt.com/downloads/unifi/5.7.23/UniFi.unix.zip Unifi.unix.zip RUN unzip Unifi.unix.zip \ && rm Unifi.unix.zip WORKDIR /opt/UniFi VOLUME /opt/UniFi/data EXPOSE 8443 CMD ["java", "-jar", "lib/ace.jar", "start"]