forked from Github/frigate
removing old node relay
This commit is contained in:
@@ -6,7 +6,6 @@ FROM blakeblackshear/frigate-wheels:${WHEELS_VERSION}-${ARCH} as wheels
|
||||
FROM blakeblackshear/frigate-ffmpeg:${FFMPEG_VERSION}-${ARCH} as ffmpeg
|
||||
FROM blakeblackshear/frigate-nginx:${NGINX_VERSION} as nginx
|
||||
FROM frigate-web as web
|
||||
FROM frigate-jsmpeg as jsmpeg
|
||||
|
||||
FROM ubuntu:20.04
|
||||
LABEL maintainer "blakeb@blakeshome.com"
|
||||
@@ -41,7 +40,8 @@ RUN pip3 install \
|
||||
voluptuous\
|
||||
Flask-Sockets \
|
||||
gevent \
|
||||
gevent-websocket
|
||||
gevent-websocket \
|
||||
ws4py
|
||||
|
||||
COPY --from=nginx /usr/local/nginx/ /usr/local/nginx/
|
||||
|
||||
@@ -56,9 +56,6 @@ ADD migrations migrations/
|
||||
|
||||
COPY --from=web /opt/frigate/build web/
|
||||
|
||||
COPY --from=jsmpeg /opt/build jsmpeg/
|
||||
COPY --from=jsmpeg /usr/local/bin/node /usr/local/bin/node
|
||||
|
||||
COPY docker/rootfs/ /
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
ARG NODE_VERSION=14.16
|
||||
|
||||
FROM node:${NODE_VERSION}
|
||||
|
||||
WORKDIR /opt/build
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm install --no-progress && \
|
||||
npm prune --production --ignore-scripts --prefer-offline
|
||||
Reference in New Issue
Block a user