diff --git a/Dockerfile b/Dockerfile index ae3c9b56..ff076373 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,13 @@ -FROM node:16.15-buster-slim +# XXX: Before updating this, make sure the issues around `npm` silently exiting +# with error 243 issues are solved: +# - https://github.com/npm/cli/issues/4996 +# - https://github.com/npm/cli/issues/4769 +FROM node:16.14.2-buster-slim RUN mkdir -p /app WORKDIR /app -RUN npm install npm@^8 --location=global - # Copy the health-check script COPY docker-health-check.js /app/