try resolve build context path not present by copying empty web dir

This commit is contained in:
Collin M. Barrett 2019-12-07 16:54:38 -06:00
parent f5036672d6
commit c7dc0f6b87
2 changed files with 1 additions and 4 deletions

View file

@ -59,6 +59,7 @@ steps:
Contents: |
docker-compose.yml
docker-compose.prod.yml
web # hack for deploy since dc pull and up still check for existence of build context dir
TargetFolder: "$(Build.ArtifactStagingDirectory)"
CleanTargetFolder: true
OverWrite: true

View file

@ -7,7 +7,3 @@ services:
volumes:
- ./ops/nginx/conf.d:/etc/nginx/conf.d:ro
- ~/cert:/etc/nginx/cert:ro
web:
build:
context: .