summaryrefslogtreecommitdiffstats
path: root/testing-scheduler/docker/ui/pre-builder/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'testing-scheduler/docker/ui/pre-builder/Dockerfile')
-rw-r--r--testing-scheduler/docker/ui/pre-builder/Dockerfile18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing-scheduler/docker/ui/pre-builder/Dockerfile b/testing-scheduler/docker/ui/pre-builder/Dockerfile
new file mode 100644
index 00000000..f69667f4
--- /dev/null
+++ b/testing-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/testing-scheduler/ui
+COPY ./ui .
+
+RUN npm install
+RUN npm run build
+
+CMD tail -f /dev/null \ No newline at end of file