Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Update Docker base image to Node 16 #578

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14
FROM node:16

ENV ENKETO_SRC_DIR=/srv/src/enketo_express
WORKDIR ${ENKETO_SRC_DIR}
Expand All @@ -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
Expand Down
Loading