summaryrefslogtreecommitdiffstats
path: root/test-scheduler/docker/ui/pre-builder/Dockerfile
blob: 92fbda3283283d129bae31f058269f82de3fcd09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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