apk-install on 1 line and delete cache when done
This commit is contained in:
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…
x
Reference in New Issue
Block a user