Make apk package install more elegant

dev
Ruakij 2 years ago
parent 9ff168317e
commit d5c7f0a580

@ -11,9 +11,9 @@ RUN npm install
RUN npm prune --production 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 add --no-cache tcpdump
# Bundle app source # Bundle app source
COPY ./src/ . COPY ./src/ .
CMD ["npm", "run", "start"] CMD ["npm", "run", "start"]

Loading…
Cancel
Save