don't flatten UI directory

my previous COPY was doing this accidentally, breaking the favicons.
This commit is contained in:
Scott Lamb 2021-01-22 12:49:42 -08:00
parent c77acf3c47
commit adcfc5e5f0

View File

@ -64,7 +64,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
moonfire-nvr && \
ln -s moonfire-nvr /usr/local/bin/nvr
COPY --from=build-server /var/lib/moonfire-nvr/moonfire-nvr /usr/local/bin/moonfire-nvr
COPY --from=build-webpack /var/lib/moonfire-nvr/ui-dist/* /usr/local/lib/moonfire-nvr/ui
COPY --from=build-webpack /var/lib/moonfire-nvr/ui-dist /usr/local/lib/moonfire-nvr/ui
USER moonfire-nvr:moonfire-nvr
WORKDIR /var/lib/moonfire-nvr