update node version to 16

This commit is contained in:
2022-02-16 15:21:22 +00:00
committed by Stepan Usatiuk
parent 242b567efb
commit d376b2df13
4 changed files with 6 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ version: 2
jobs:
test-backend:
docker:
- image: circleci/node:14
- image: circleci/node:16
- image: circleci/mariadb:latest
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
@@ -35,7 +35,7 @@ jobs:
test-frontend:
docker:
- image: circleci/node:14
- image: circleci/node:16
working_directory: ~/photos/frontend
@@ -74,7 +74,7 @@ jobs:
test-frontend-build:
docker:
- image: circleci/node:14
- image: circleci/node:16
working_directory: ~/photos/frontend

View File

@@ -1,5 +1,5 @@
# Update the VARIANT arg in docker-compose.yml to pick a Node version: 10, 12, 14
ARG VARIANT="14-buster"
ARG VARIANT="16-buster"
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}
ENV DOCKERDEV=true

View File

@@ -7,7 +7,7 @@ services:
dockerfile: Dockerfile
args:
# [Choice] Node.js version: 14, 12, 10
VARIANT: 14
VARIANT: 16
# On Linux, you may need to update USER_UID and USER_GID below if not your local UID is not 1000.
USER_UID: 1000
USER_GID: 1000

View File

@@ -1,4 +1,4 @@
FROM node:14
FROM node:16
WORKDIR /usr/src/app
COPY package*.json ./