Add ability to restart

This commit is contained in:
ElMoribond 2021-06-20 20:47:58 +02:00 committed by GitHub
parent c417778a51
commit c21fc6bee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,3 @@
FROM ubuntu:20.04 AS docker
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -yqq update && \
apt-get install -yq --no-install-recommends ca-certificates docker.io && \
apt-get autoremove -y && \
apt-get clean -y
ARG ARCH=amd64 ARG ARCH=amd64
ARG WHEELS_VERSION ARG WHEELS_VERSION
ARG FFMPEG_VERSION ARG FFMPEG_VERSION
@ -15,6 +7,14 @@ FROM blakeblackshear/frigate-ffmpeg:${FFMPEG_VERSION}-${ARCH} as ffmpeg
FROM blakeblackshear/frigate-nginx:${NGINX_VERSION} as nginx FROM blakeblackshear/frigate-nginx:${NGINX_VERSION} as nginx
FROM frigate-web as web FROM frigate-web as web
FROM ubuntu:20.04 AS build
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -yqq update && \
apt-get install -yq --no-install-recommends ca-certificates docker.io && \
apt-get autoremove -y && \
apt-get clean -y
FROM ubuntu:20.04 FROM ubuntu:20.04
LABEL maintainer "blakeb@blakeshome.com" LABEL maintainer "blakeb@blakeshome.com"
@ -26,7 +26,7 @@ COPY --from=ffmpeg /usr/local /usr/local/
COPY --from=wheels /wheels/. /wheels/ COPY --from=wheels /wheels/. /wheels/
COPY --from=docker /usr/bin/docker /usr/local/bin/docker COPY --from=build /usr/bin/docker /usr/local/bin/docker
ENV FLASK_ENV=development ENV FLASK_ENV=development
# ENV FONTCONFIG_PATH=/etc/fonts # ENV FONTCONFIG_PATH=/etc/fonts