Revelav3/Dockerfile
Gavin a448293c61
CVE-2022-2309
fixes old node version which is vulnerable to https://www.cve.org/CVERecord?id=CVE-2022-2309

Introduced through: node@18 -> libxml2@2.9.14+dfsg-1.2
Fix: Upgrade to libxml2@2.9.14+dfsg-1.3~deb12u1 <- node:20.4-bookworm-slim
2023-07-25 03:58:10 -05:00

7 lines
119 B
Docker

FROM node:20.4-bookworm-slim
WORKDIR /usr/src/app
COPY . .
RUN npm install
RUN npm ci
EXPOSE 3000
CMD ["npm", "start"]