File tree Expand file tree Collapse file tree 3 files changed +4251
-225
lines changed
Expand file tree Collapse file tree 3 files changed +4251
-225
lines changed Original file line number Diff line number Diff line change 1818 --label commit=$GITHUB_SHA \
1919 --label build_date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
2020 --label tag=${GITHUB_REF##*/} \
21- --tag ghcr.io/hyperledger/firefly-dataexchange-https:${GITHUB_REF##*/}" \
22- --tag ghcr.io/hyperledger/firefly-dataexchange-https:head" \
21+ --tag ghcr.io/hyperledger/firefly-dataexchange-https:${GITHUB_REF##*/} \
22+ --tag ghcr.io/hyperledger/firefly-dataexchange-https:head \
2323 .
2424
2525 - name : Tag release
Original file line number Diff line number Diff line change 1- FROM node:14-alpine3.11 as firefly-dataexchange-builder
2- RUN apk add --update python make
1+ FROM node:16-alpine3.15 as firefly-dataexchange-builder
32ADD . /firefly-dataexchange-https
43WORKDIR /firefly-dataexchange-https
54RUN npm install
65RUN npm run build
76
8- FROM node:14 -alpine3.11
7+ FROM node:16 -alpine3.15
98WORKDIR /firefly-dataexchange-https
109COPY --from=firefly-dataexchange-builder /firefly-dataexchange-https/package.json /firefly-dataexchange-https
1110COPY --from=firefly-dataexchange-builder /firefly-dataexchange-https/build /firefly-dataexchange-https/build
12- COPY --from=firefly-dataexchange-builder /firefly-dataexchange-https/node_modules /firefly-dataexchange-https/node_modules
11+ COPY --from=firefly-dataexchange-builder /firefly-dataexchange-https/package*.json ./
12+ RUN npm install --production
1313EXPOSE 3000
1414EXPOSE 3001
1515CMD [ "node" , "./build/index.js" ]
You can’t perform that action at this time.
0 commit comments