From 1d8f1b24a93bcece893fd8fa352dc488450aba68 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Fri, 11 Mar 2022 05:52:41 -0600 Subject: [PATCH] update to node 16 --- .github/workflows/pull_request.yml | 6 +++--- docker/Dockerfile | 2 +- docker/Dockerfile.dev | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 9ca91973d..fe9e76b8b 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@master - uses: actions/setup-node@master with: - node-version: 14.x + node-version: 16.x - run: npm install working-directory: ./web - name: Lint @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@master - uses: actions/setup-node@master with: - node-version: 14.x + node-version: 16.x - run: npm install working-directory: ./web - name: Build @@ -38,7 +38,7 @@ jobs: - uses: actions/checkout@master - uses: actions/setup-node@master with: - node-version: 14.x + node-version: 16.x - run: npm install working-directory: ./web - name: Test diff --git a/docker/Dockerfile b/docker/Dockerfile index da6e2df93..d758a8b5a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,6 +1,6 @@ FROM blakeblackshear/frigate-nginx:1.0.2 as nginx -FROM node:14 as web +FROM node:16 as web WORKDIR /opt/frigate diff --git a/docker/Dockerfile.dev b/docker/Dockerfile.dev index 2401d4481..a65070d8c 100644 --- a/docker/Dockerfile.dev +++ b/docker/Dockerfile.dev @@ -19,8 +19,8 @@ RUN apt-get update \ RUN pip3 install pylint black -# Install Node 14 -RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \ +# Install Node 16 +RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - \ && apt-get install -y nodejs RUN npm install -g npm@latest