update to node 16

This commit is contained in:
Blake Blackshear 2022-03-11 05:52:41 -06:00
parent 7cabf8e5f5
commit 1d8f1b24a9
3 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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