apk-install on 1 line and delete cache when done

release-1.1^2
Ruakij 3 years ago
parent b98dff947d
commit 298a96bf16

@ -7,8 +7,8 @@ WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
RUN apk update
RUN apk add tcpdump
# Install required apk-packages & delete cache
RUN apk update && apk add tcpdump && rm -rf /var/cache/apk/*
# Bundle app source
COPY ./src/ .

Loading…
Cancel
Save