blob: 7f0ef12b04c6ffec0413907cc74b8f75a99156a5 [file] [log] [blame]
BjornMagnussonXAa5491572021-05-04 09:21:24 +02001ARG NEXUS_PROXY_REPO
2
3FROM ${NEXUS_PROXY_REPO}node:16-alpine3.12
4
5ENV NODE_ENV=production
6
7WORKDIR /usr/src/app/cert
BjornMagnussonXA6f9c2b22021-06-11 16:31:40 +02008
9# Need trailing slash on dest for multiple file copy
10COPY cert/*.crt ./
BjornMagnussonXAa5491572021-05-04 09:21:24 +020011COPY cert/pass .
12
13WORKDIR /usr/src/app
14COPY http_proxy.js .
15
BjornMagnussonXAdfdca182021-12-10 10:43:32 +010016CMD [ "node", "http_proxy.js" ]