Browse Source

Replace npm install with ci

master
Garrit Franke 4 years ago
parent
commit
58d4a26c33
  1. 4
      server/Dockerfile

4
server/Dockerfile

@ -7,9 +7,7 @@ WORKDIR /usr/src/app
# A wildcard is used to ensure both package.json AND package-lock.json are copied
COPY package*.json ./
RUN npm install
# If you are building your code for production
# RUN npm ci --only=production
RUN npm ci
# Bundle app source
COPY . .

Loading…
Cancel
Save