diff options
author | 2017-11-03 14:42:18 +0100 | |
---|---|---|
committer | 2017-11-03 14:42:18 +0100 | |
commit | 0938caa3ba49fa2b54a42f2123643f37de28f1b3 (patch) | |
tree | 34e69af912003d84e450f9cd31bef06e7b4136b2 /moonv4/moon_gui/Dockerfile | |
parent | daaba34fa2ed4426bc0fde359e54a5e1b872208c (diff) |
Use Apache as web server and create configuration for host and port
Change-Id: Ibbf50f069d8013900884c17a86b1105fc1eb7ae7
Diffstat (limited to 'moonv4/moon_gui/Dockerfile')
-rw-r--r-- | moonv4/moon_gui/Dockerfile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/moonv4/moon_gui/Dockerfile b/moonv4/moon_gui/Dockerfile index ef809668..428e1037 100644 --- a/moonv4/moon_gui/Dockerfile +++ b/moonv4/moon_gui/Dockerfile @@ -1,11 +1,18 @@ FROM ubuntu:latest -RUN apt update && apt install nodejs nodejs-legacy npm -y +RUN apt update && apt install git nodejs nodejs-legacy npm apache2 -y RUN npm install --global gulp-cli +ENV MANAGER_HOST="127.0.0.1" +ENV MANAGER_PORT=8080 +ENV KEYSTONE_HOST="127.0.0.1" +ENV KEYSTONE_PORT=5000 + ADD . /root WORKDIR /root/ + RUN npm install -RUN gulp delivery -CMD ["gulp", "webServerDelivery"]
\ No newline at end of file +#CMD ["gulp"] +#CMD ["gulp", "webServerDelivery"] +CMD ["sh", "/root/run.sh"]
\ No newline at end of file |