File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 11FROM ivankrizsan/elastalert AS py-ea
2- # Uses BitSensor's elastalert
3- ENV ELASTALERT_URL https://github.com/bitsensor/yelp-elastalert/archive/master.zip
2+ # Uses BitSensor's elastalert, or yelp master if commented out
3+ # ENV ELASTALERT_URL https://github.com/bitsensor/yelp-elastalert/archive/master.zip
44
55FROM node:alpine
66MAINTAINER BitSensor <
[email protected] >
77EXPOSE 3030
8-
8+
99RUN apk update && apk upgrade && apk add python2
1010
1111COPY --from=py-ea /usr/lib/python2.7/site-packages /usr/lib/python2.7/site-packages
1212COPY --from=py-ea /opt/elastalert /opt/elastalert
1313
1414RUN mkdir server_data
15- WORKDIR /opt/elastalert-server
16- COPY . /opt/elastalert-server
17-
18- RUN npm install --production --quiet
19- COPY config/elastalert.yaml /opt/elastalert/config.yaml
20- COPY config/config.json config/config.json
15+ WORKDIR /opt/elastalert-server
16+ COPY . /opt/elastalert-server
17+
18+ RUN npm install --production --quiet
19+ COPY config/elastalert.yaml /opt/elastalert/config.yaml
20+ COPY config/config.json config/config.json
2121COPY rule_templates/ /opt/elastalert/rule_templates
2222COPY elastalert_modules/ /opt/elastalert/elastalert_modules
2323
24- ENTRYPOINT ["npm" , "start" ]
24+ ENTRYPOINT ["npm" , "start" ]
You can’t perform that action at this time.
0 commit comments