aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_gui/Dockerfile
diff options
context:
space:
mode:
authorasteroide <thomas.duval@orange.com>2017-07-28 14:03:50 +0200
committerasteroide <thomas.duval@orange.com>2017-07-28 14:03:50 +0200
commitba7154c8198e443908002a5ce46959e445f966ee (patch)
treed5fb37e73c420a9d5496c4205d506a1e73063422 /moonv4/moon_gui/Dockerfile
parentf19e124c0ce0ead5b0a793492e0c1bd6378b3d83 (diff)
Put GUI in container.
Change-Id: Ib0b126e463461b20ced52e5b3dd7cc37045e1716
Diffstat (limited to 'moonv4/moon_gui/Dockerfile')
-rw-r--r--moonv4/moon_gui/Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/moonv4/moon_gui/Dockerfile b/moonv4/moon_gui/Dockerfile
new file mode 100644
index 00000000..ef809668
--- /dev/null
+++ b/moonv4/moon_gui/Dockerfile
@@ -0,0 +1,11 @@
+FROM ubuntu:latest
+
+RUN apt update && apt install nodejs nodejs-legacy npm -y
+RUN npm install --global gulp-cli
+
+ADD . /root
+WORKDIR /root/
+RUN npm install
+RUN gulp delivery
+
+CMD ["gulp", "webServerDelivery"] \ No newline at end of file