forked from TheHive-Project/Hippocampe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
35 lines (27 loc) · 733 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
###################################################
# Lightweight Hippocampe container
###################################################
# Build the base from J8 Alpine
FROM openjdk:8-jre-alpine
RUN apk add --update --no-cache python \
python-dev \
py-pip \
git \
curl \
nodejs \
nodejs-npm
RUN npm install -g bower
RUN pip install --upgrade pip && \
pip install apscheduler \
Configparser \
elasticsearch \
flask \
python-dateutil \
requests
COPY ./core /opt/Hippocampe/core
COPY docker-entrypoint.sh /
RUN adduser hippo -D
RUN chown -R hippo:hippo /opt/Hippocampe /docker-entrypoint.sh
USER hippo
RUN cd /opt/Hippocampe/core/static && bower install
ENTRYPOINT /docker-entrypoint.sh