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