BjornMagnussonXA | a549157 | 2021-05-04 09:21:24 +0200 | [diff] [blame] | 1 | ARG NEXUS_PROXY_REPO |
| 2 | |
| 3 | FROM ${NEXUS_PROXY_REPO}node:16-alpine3.12 |
| 4 | |
| 5 | ENV NODE_ENV=production |
| 6 | |
| 7 | WORKDIR /usr/src/app/cert |
BjornMagnussonXA | 6f9c2b2 | 2021-06-11 16:31:40 +0200 | [diff] [blame] | 8 | |
| 9 | # Need trailing slash on dest for multiple file copy |
| 10 | COPY cert/*.crt ./ |
BjornMagnussonXA | a549157 | 2021-05-04 09:21:24 +0200 | [diff] [blame] | 11 | COPY cert/pass . |
| 12 | |
| 13 | WORKDIR /usr/src/app |
| 14 | COPY http_proxy.js . |
| 15 | |
BjornMagnussonXA | dfdca18 | 2021-12-10 10:43:32 +0100 | [diff] [blame] | 16 | CMD [ "node", "http_proxy.js" ] |