diff --git a/Dockerfile b/Dockerfile index 1948299..08781f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:alpine +FROM node:14-alpine COPY . /tmp/src RUN cd /tmp/src \ && yarn install \ diff --git a/README.md b/README.md index 690d51a..6fa7faf 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ docker run --rm -it -v /etc/mjolnir:/data matrixdotorg/mjolnir:latest ## Build it (alternative installation) -This bot requires `yarn` and Node 10. +This bot requires `yarn` and Node 14. ```bash git clone https://github.com/matrix-org/mjolnir.git diff --git a/package.json b/package.json index 70ebb17..0fe933b 100644 --- a/package.json +++ b/package.json @@ -39,5 +39,8 @@ "js-yaml": "^4.1.0", "jsdom": "^16.6.0", "matrix-bot-sdk": "^0.5.19" + }, + "engines": { + "node": ">=14.0.0" } }