mirror of https://github.com/rancher/ui.git
10 lines
313 B
Docker
10 lines
313 B
Docker
FROM node:7
|
|
RUN mkdir /source
|
|
WORKDIR /source
|
|
COPY package.json bower.json ./
|
|
COPY scripts ./scripts
|
|
RUN yarn install && yarn global add bower phantomjs-prebuilt && bower --allow-root install && yarn cache clean && bower --allow-root cache clean
|
|
COPY . /source
|
|
EXPOSE 8000
|
|
CMD ["yarn","start","--","--ssl=false"]
|