Explorar el Código

Specified volume

snppla hace 6 años
padre
commit
3c1a2dc059
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -12,4 +12,6 @@ RUN echo "deb [arch=amd64] http://www.ubnt.com/downloads/unifi-video/apt-3.x whe
 
 RUN apt-get update -y && apt-get install -y unifi-video && apt-get clean all
 
+VOLUME["/usr/lib/unifi-video/data"]
+
 CMD /usr/sbin/unifi-video -D start