Commit ab6d3c36 authored by Tobias Munk's avatar Tobias Munk

streamline Docker build

parent 24d66ce8
Pipeline #8467 failed with stages
version: '2'
services:
php:
image: ${BUILD_PREFIX}_php
volumes:
- /app
- /app/web
environment:
- YII_ENV=prod
- DB_PORT_3306_TCP_ADDR=db
......@@ -18,7 +17,7 @@ services:
aliases:
- web
tester:
image: ${BUILD_PREFIX}_php
image: local/myapp/php:${BUILD_PREFIX}
depends_on:
- seleniumfirefox
volumes:
......
......@@ -4,6 +4,7 @@ version: '2'
services:
php:
build: .
image: local/myapp/php:${BUILD_PREFIX}
depends_on:
- db
networks:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment