diff --git a/.nvmrc b/.nvmrc index 21cff1fb03..1821c1ce2d 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -14.18.1 \ No newline at end of file +14.21.3 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 736c690de2..f32e540dda 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:12.20.2-buster-slim +FROM node:14.21.3-buster-slim WORKDIR /usr/local diff --git a/README.md b/README.md index df9314705f..1357b3f066 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Frontend of PyCon TW official website. ### Requirements -- node >= 12.20.2 +- node >= 14.21.3 > You can refer to `package.json` file for more details. diff --git a/dev.Dockerfile b/dev.Dockerfile index b75c11527b..d3f8b3a0c1 100644 --- a/dev.Dockerfile +++ b/dev.Dockerfile @@ -1,4 +1,4 @@ -FROM node:12.20.2 +FROM node:14.21.3 WORKDIR /app diff --git a/mock-server.Dockerfile b/mock-server.Dockerfile index cc338db39b..487902f68a 100644 --- a/mock-server.Dockerfile +++ b/mock-server.Dockerfile @@ -1,8 +1,8 @@ -FROM node:12.20.2-buster-slim +FROM node:14.21.3-buster-slim WORKDIR /usr/local -RUN npm install -g json-server +RUN npm install -g json-server@0.16.3 COPY db.json routes.json json-server-middlewares.js ./