mirror of
https://github.com/goldbergyoni/nodebestpractices.git
synced 2025-10-29 00:19:14 +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
|
FROM node:12-slim AS build
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY package.json package-lock.json ./
|
COPY package.json package-lock.json ./
|
||||||
|
# Two mistakes below: Installing dev dependencies, not deleting the cache after npm install
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
# The rest comes here
|
# The rest comes here
|
||||||
|
|||||||
Reference in New Issue
Block a user