Browse Source

Specified volume

snppla 6 năm trước cách đây
mục cha
commit
3c1a2dc059
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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