test docker-compose
parent
8086288cda
commit
8789391648
18
drone.yml
18
drone.yml
|
|
@ -2,15 +2,8 @@ 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
|
||||
image: docker
|
||||
volumes:
|
||||
- name: docker_sock
|
||||
path: /var/run/docker.sock
|
||||
|
|
@ -18,6 +11,15 @@ steps:
|
|||
- cd Server
|
||||
- docker-compose up -d
|
||||
|
||||
- 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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue