You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rfmon-to-influx/Dockerfile

20 lines
336 B
Docker

FROM node:16-alpine
3 years ago
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
COPY package*.json ./
RUN npm install
# remove development dependencies
RUN npm prune --production
# Install required apk-packages & delete cache
RUN apk add --no-cache tcpdump
3 years ago
# Bundle app source
COPY ./src/ .
CMD ["npm", "run", "start"]