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 ./ | ||||
10 | COPY cert/ cert/ | ||||
11 | |||||
12 | RUN npm install express | ||||
13 | RUN npm install argparse | ||||
14 | |||||
BjornMagnussonXA | f4e1836 | 2019-04-10 13:04:08 +0000 | [diff] [blame] | 15 | #Ports for DR |
16 | #EXPOSE 3906 | ||||
17 | #EXPOSE 3907 | ||||
18 | |||||
19 | #Ports for DR redir | ||||
20 | #EXPOSE 3908 | ||||
21 | #EXPOSE 3909 |