kind: pipeline
name: default
-workspace:
- path: /drone/src/docker/travis
-
steps:
- name: test
image: docker/compose:alpine-1.27.4
commands:
- - pwd
- - ls -la
- - docker build ../../ --file ../prod/Dockerfile --tag dessalines/lemmy:travis
- - docker-compose up -d
+ - docker build . --file docker/prod/Dockerfile --tag dessalines/lemmy:travis
+ - docker-compose up -f docker/travis/docker-compose.yml -d
+ - sleep 10
+ - docker-compose down