summaryrefslogtreecommitdiffstats
path: root/test-scheduler/docker/ui/pre-builder/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'test-scheduler/docker/ui/pre-builder/Dockerfile')
-rw-r--r--test-scheduler/docker/ui/pre-builder/Dockerfile18
1 files changed, 18 insertions, 0 deletions
diff --git a/test-scheduler/docker/ui/pre-builder/Dockerfile b/test-scheduler/docker/ui/pre-builder/Dockerfile
new file mode 100644
index 00000000..92fbda32
--- /dev/null
+++ b/test-scheduler/docker/ui/pre-builder/Dockerfile
@@ -0,0 +1,18 @@
+##############################################################################
+# Copyright (c) 2018 Huawei Technologies Co.,Ltd and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+FROM node:alpine
+MAINTAINER x-lab/Leo
+WORKDIR /home/test-scheduler/ui
+COPY ./ui .
+
+RUN npm install
+RUN npm run build
+
+CMD tail -f /dev/null