Size drastically decreased
@ -1,4 +1,4 @@
FROM node:16
FROM node:16-alpine
# Create app directory
WORKDIR /usr/src/app
@ -7,9 +7,8 @@ WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
RUN apt-get update
RUN apt-get -y install \
tcpdump
RUN apk update
RUN apk add tcpdump
# Bundle app source
COPY ./src/ .