File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM node:10-alpine
2+
3+ COPY . /usr/local/caliper/
4+
5+ ENV MINI_BREAKPAD_SERVER_PORT 8080
6+
7+ RUN apk add --no-cache -q git && cd /usr/local/caliper && npm install && ./node_modules/.bin/grunt && npm cache clean --force
8+
9+ RUN chmod 755 /usr/local/caliper/bin/caliper
10+
11+ EXPOSE 8080
12+ VOLUME ["/usr/local/caliper/pool" ]
13+
14+ WORKDIR /usr/local/caliper
15+ CMD ["/usr/local/caliper/bin/caliper" ]
Original file line number Diff line number Diff line change @@ -18,6 +18,12 @@ This intends to be a simple server for crash reports sent by
1818
1919## Run
2020
21+ ### Using Docker
22+
23+ You can use Dockerfile provided by the repository to build and run server in Docker
24+
25+ ### Directly
26+
2127* ` npm install . ` -- if this fails make sure you have node-gyp setup correctly
2228* ` grunt `
2329* Put your breakpad symbols under ` pool/symbols/PDBNAME/PDBUNIQUEIDENTIFIER/PDBNAMEASSYM `
You can’t perform that action at this time.
0 commit comments