You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

25 lines
390 B
Docker

FROM docker.io/alpine AS downloader
WORKDIR /unifi
ADD https://www.ubnt.com/downloads/unifi/6.0.45/UniFi.unix.zip Unifi.unix.zip
RUN apk add unzip \
&& unzip Unifi.unix.zip \
&& rm Unifi.unix.zip
FROM openjdk:8-jre-slim
WORKDIR /unifi
COPY --from=downloader /unifi/UniFi/ .
VOLUME /unifi/data
EXPOSE 8080
EXPOSE 8443
EXPOSE 3478/udp
CMD ["java", "-jar", "lib/ace.jar", "start"]