forked from RTB4FREE/crosstalk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
37 lines (32 loc) · 845 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM alpine:3.6
MAINTAINER Ben Faul, https://github.com/benmfaul
RUN apk --update add openjdk8-jre
RUN apk add --no-cache nss
RUN apk add --no-cache bash
RUN apk add --no-cache python && \
python -m ensurepip && \
rm -r /usr/lib/python*/ensurepip && \
pip install --upgrade pip setuptools && \
pip install --upgrade pip requests && \
rm -r /root/.cache
RUN mkdir target
RUN mkdir tools
RUN mkdir shell
RUN mkdir libs
RUN mkdir query
RUN mkdir python
RUN mkdir logs
COPY log4j.properties /
COPY query/daily.json /query
COPY query/hourly.json /query
COPY query/lastlog.json /query
COPY query/total.json /query
COPY target/*with-dependencies.jar /target
COPY wait-for-it.sh /
COPY tools/* /
COPY libs/* /libs
COPY shell/* /shell/
COPY config.json config.json
COPY python/* /python/
EXPOSE 8100 7002
CMD ./crosstalk