BjornMagnussonXA | f8b34f0 | 2019-03-22 09:48:38 +0000 | [diff] [blame] | 1 | #Common image for both dmmapDR and dmaapDR_redir |
2 | |||||
BjornMagnussonXA | a79a043 | 2019-07-17 08:26:50 +0000 | [diff] [blame] | 3 | FROM node:12 |
BjornMagnussonXA | f8b34f0 | 2019-03-22 09:48:38 +0000 | [diff] [blame] | 4 | |
5 | WORKDIR /app | ||||
6 | |||||
7 | COPY dmaapDR.js ./ | ||||
8 | COPY dmaapDR_redir.js ./ | ||||
9 | COPY package*.json ./ | ||||
BjornMagnussonXA | f8b34f0 | 2019-03-22 09:48:38 +0000 | [diff] [blame] | 10 | |
11 | RUN npm install express | ||||
12 | RUN npm install argparse | ||||
13 | |||||
BjornMagnussonXA | f4e1836 | 2019-04-10 13:04:08 +0000 | [diff] [blame] | 14 | #Ports for DR |
15 | #EXPOSE 3906 | ||||
16 | #EXPOSE 3907 | ||||
17 | |||||
18 | #Ports for DR redir | ||||
19 | #EXPOSE 3908 | ||||
20 | #EXPOSE 3909 |