From b56fb7feb308676608aa12ccaa1ab19118497b91 Mon Sep 17 00:00:00 2001 From: eyelidlessness Date: Thu, 3 Aug 2023 14:33:43 -0700 Subject: [PATCH] Update Docker base image to Node 16 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e550d4c06..ca6787b92 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:14 +FROM node:16 ENV ENKETO_SRC_DIR=/srv/src/enketo_express WORKDIR ${ENKETO_SRC_DIR} @@ -7,7 +7,7 @@ RUN npm install -g pm2@$(npm info pm2 version) COPY . ${ENKETO_SRC_DIR} -RUN npm clean-install && npx grunt && npm prune --production +RUN npm install -g npm@^6 && npm clean-install && npx grunt && npm prune --production # Persist the `secrets` directory so the encryption key remains consistent. RUN mkdir -p ${ENKETO_SRC_DIR}/setup/docker/secrets