aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_gui/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'moonv4/moon_gui/Dockerfile')
-rw-r--r--moonv4/moon_gui/Dockerfile13
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