2022-07-19 15:09:45 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
2022-07-19 15:48:32 +00:00
|
|
|
image: node:14.20.0-alpine3.16
|
2022-07-19 15:09:45 +00:00
|
|
|
commands:
|
2022-07-19 15:48:32 +00:00
|
|
|
#- apk add --update --no-cache --virtual .gyp g++ make py3-pip python3
|
|
|
|
#- which python3
|
|
|
|
#- npm install -g node-gyp@latest
|
|
|
|
#- npm config set python "/usr/bin/python3"
|
|
|
|
#- rm -rf /var/cache/apk/*
|
2022-07-19 15:09:45 +00:00
|
|
|
- npm install
|
2022-07-19 15:38:48 +00:00
|
|
|
- apk del .gyp
|
2022-07-19 15:09:45 +00:00
|
|
|
- vue-cli-service build --mode production
|