fix: Docker COPY command for multiple files

This commit is contained in:
Dylan Van Assche
2021-03-02 12:30:55 +01:00
committed by Joachim Van Herwegen
parent e3cf2f9469
commit 717a907e4c

View File

@@ -5,7 +5,7 @@ FROM node:lts AS build
WORKDIR /community-server
## Copy the package.json for audit
COPY package*.json .
COPY package*.json ./
## Verify if there are known vulnerabilities in the dependencies
RUN npm audit --production --audit-level=high