Skip to content

Commit 5a20499

Browse files
author
Ruben van Vreeland
committed
Use Yelp master
1 parent 3a780a0 commit 5a20499

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Dockerfile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
FROM 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

55
FROM node:alpine
66
MAINTAINER BitSensor <[email protected]>
77
EXPOSE 3030
8-
8+
99
RUN apk update && apk upgrade && apk add python2
1010

1111
COPY --from=py-ea /usr/lib/python2.7/site-packages /usr/lib/python2.7/site-packages
1212
COPY --from=py-ea /opt/elastalert /opt/elastalert
1313

1414
RUN 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
2121
COPY rule_templates/ /opt/elastalert/rule_templates
2222
COPY elastalert_modules/ /opt/elastalert/elastalert_modules
2323

24-
ENTRYPOINT ["npm", "start"]
24+
ENTRYPOINT ["npm", "start"]

0 commit comments

Comments
 (0)