24 lines
462 B
YAML
24 lines
462 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
steps:
|
|
- name: dockerize
|
|
image: docker
|
|
volumes:
|
|
- name: docker_sock
|
|
path: /var/run/docker.sock
|
|
commands:
|
|
- docker build --tag ofb_angular .
|
|
- docker images
|
|
|
|
- name: build_client
|
|
image: node
|
|
commands:
|
|
- cd Client
|
|
- npm install
|
|
- node node_modules/@angular/cli/bin/ng build --prod --configuration=production
|
|
|
|
volumes:
|
|
- name: docker_sock
|
|
host:
|
|
path: /var/run/docker.sock |