Commit 9e083074 authored by liuzheng712's avatar liuzheng712

feat: build with yaml

parent 699533ad
FROM nginx:alpine
LABEL Owner=liuzheng712@gmail.com
COPY ./dist /opt/luna/
COPY nginx.conf /etc/nginx/conf.d/default.conf
name: luna
tasks:
- name: prebuild
command:
- docker pull node:latest
- name: test
- name: build
command:
- docker run -i -v `pwd`:/data -w /data node sh -c "npm i && npm rebuild node-sass&& npm run-script build"
- name: artifacts
kind: Docker
images:
- name: luna
path: .
publish: true
tag: latest
---
name: luna
maintainer: liuzheng
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment