NewsBlur-viq/docker/node/Dockerfile
viq a406802a7b
chore(node): update nodejs stuff
Node image to LTS 22.11.0
Chase rename of mercury-parser -> parser
npm update and npm audit fix
2024-11-17 20:47:14 +01:00

10 lines
285 B
Docker

FROM node:22.11.0
ENV NODE_ENV=production
WORKDIR /node
# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY node/package*.json /node
ENV NODE_PATH=/node/node_modules/
RUN npm install
WORKDIR /srv