Add npm prune (wont do much here)

release-1.1^2
Ruakij 3 years ago
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…
Cancel
Save