mirror of
https://github.com/usatiuk/photos.git
synced 2025-10-28 23:37:48 +01:00
update node version to 16
This commit is contained in:
@@ -2,7 +2,7 @@ version: 2
|
|||||||
jobs:
|
jobs:
|
||||||
test-backend:
|
test-backend:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:14
|
- image: circleci/node:16
|
||||||
- image: circleci/mariadb:latest
|
- image: circleci/mariadb:latest
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
|
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
|
||||||
@@ -35,7 +35,7 @@ jobs:
|
|||||||
|
|
||||||
test-frontend:
|
test-frontend:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:14
|
- image: circleci/node:16
|
||||||
|
|
||||||
working_directory: ~/photos/frontend
|
working_directory: ~/photos/frontend
|
||||||
|
|
||||||
@@ -74,7 +74,7 @@ jobs:
|
|||||||
|
|
||||||
test-frontend-build:
|
test-frontend-build:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:14
|
- image: circleci/node:16
|
||||||
|
|
||||||
working_directory: ~/photos/frontend
|
working_directory: ~/photos/frontend
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Update the VARIANT arg in docker-compose.yml to pick a Node version: 10, 12, 14
|
# 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}
|
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}
|
||||||
|
|
||||||
ENV DOCKERDEV=true
|
ENV DOCKERDEV=true
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ services:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
args:
|
args:
|
||||||
# [Choice] Node.js version: 14, 12, 10
|
# [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.
|
# 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_UID: 1000
|
||||||
USER_GID: 1000
|
USER_GID: 1000
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM node:14
|
FROM node:16
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|||||||
Reference in New Issue
Block a user