mirror of
https://github.com/goldbergyoni/nodebestpractices.git
synced 2025-10-28 03:25:55 +08:00
Fixes per PR comments
This commit is contained in:
@ -38,6 +38,7 @@ RUN npm ci --production && npm clean cache --force
|
||||
FROM node:12-slim AS build
|
||||
WORKDIR /usr/src/app
|
||||
COPY package.json package-lock.json ./
|
||||
# Two mistakes below: Installing dev dependencies, not deleting the cache after npm install
|
||||
RUN npm install
|
||||
|
||||
# The rest comes here
|
||||
|
||||
Reference in New Issue
Block a user