Make apk package install more elegant

This commit is contained in:
Ruakij 2022-11-14 19:13:32 +01:00
parent 9ff168317e
commit d5c7f0a580

View File

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