add docker build scripts for testing-scheduler
[bottlenecks.git] / testing-scheduler / docker / ui / pre-builder / Dockerfile
diff --git a/testing-scheduler/docker/ui/pre-builder/Dockerfile b/testing-scheduler/docker/ui/pre-builder/Dockerfile
new file mode 100644 (file)
index 0000000..f69667f
--- /dev/null
@@ -0,0 +1,18 @@
+##############################################################################\r
+# Copyright (c) 2018 Huawei Technologies Co.,Ltd and others.\r
+#\r
+# All rights reserved. This program and the accompanying materials\r
+# are made available under the terms of the Apache License, Version 2.0\r
+# which accompanies this distribution, and is available at\r
+# http://www.apache.org/licenses/LICENSE-2.0\r
+##############################################################################\r
+\r
+FROM node:alpine\r
+MAINTAINER x-lab/Leo\r
+WORKDIR /home/testing-scheduler/ui\r
+COPY ./ui .\r
+\r
+RUN npm install\r
+RUN npm run build\r
+\r
+CMD tail -f /dev/null
\ No newline at end of file