Skip to content

Commit

Permalink
use node 16 in server image
Browse files Browse the repository at this point in the history
  • Loading branch information
bohendo committed Aug 11, 2022
1 parent f33a349 commit e44cbda
Show file tree
Hide file tree
Showing 2 changed files with 36,041 additions and 140 deletions.
4 changes: 2 additions & 2 deletions modules/server/ops/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM node:14.18.1-alpine3.14
FROM node:16.16.0-alpine3.16
WORKDIR /root
ENV HOME /root
ENV PATH $PATH:./node_modules/.bin:/root/node_modules/.bin
RUN apk add --update --no-cache bash curl g++ gcc git jq make python3
# npm 7.x.x doesn't seem to respect the --production flag so should we stick with 6.x.x?
RUN npm config set unsafe-perm true && npm install -g [email protected]
RUN npm install [email protected] --no-save --no-package-lock
RUN npm install [email protected] --no-save --no-package-lock
RUN npm install [email protected] --no-save --no-package-lock
RUN curl https://raw.githubusercontent.com/vishnubob/wait-for-it/ed77b63706ea721766a62ff22d3a251d8b4a6a30/wait-for-it.sh > /bin/wait-for && chmod +x /bin/wait-for

COPY ops ops
Expand Down
Loading

0 comments on commit e44cbda

Please sign in to comment.