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

Commit

Permalink
Update Docker base image to Node 16
Browse files Browse the repository at this point in the history
  • Loading branch information
eyelidlessness committed Aug 3, 2023
1 parent a3b61af commit b56fb7f
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit b56fb7f

Please sign in to comment.