Add npm prune (wont do much here)
This commit is contained in:
parent
298a96bf16
commit
57cf6fb0a7
@ -7,6 +7,9 @@ WORKDIR /usr/src/app
|
|||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
|
# remove development dependencies
|
||||||
|
RUN npm prune --production
|
||||||
|
|
||||||
# Install required apk-packages & delete cache
|
# Install required apk-packages & delete cache
|
||||||
RUN apk update && apk add tcpdump && rm -rf /var/cache/apk/*
|
RUN apk update && apk add tcpdump && rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user