forked from cristianvasquez/HES-Agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
28 lines (23 loc) · 789 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
# Hydra Eye image, based on EYE of Jos and EYE Server by Ruben
# http://eulersharp.sourceforge.net/
FROM bdevloed/eye:latest
MAINTAINER Cristian Vasquez <[email protected]>
# Install latest nodejs
RUN apt-get -qq update && \
apt-get -qqy --no-install-recommends install gnupg && \
curl -fsSL https://deb.nodesource.com/setup_8.x | bash - && \
apt-get install -qy nodejs && \
apt-get install -qy git && \
apt-get install -qy wget && \
apt-get purge -qy lsb-release && \
apt-get -qy autoremove && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Install hydra eye server
WORKDIR /usr/src/app
RUN mkdir /hes-agent \
&& cd /hes-agent \\
&& git clone https://github.com/SvenLieber/HES-Agent . \
&& npm -g install
EXPOSE 3000
ENTRYPOINT hes serve ./workspace