Newer
Older
name: camsis-event-creator
services:
example-webapp:
build:
context: .
dockerfile: example.Dockerfile
ports:
- 8080:8080
profiles:
- example
# Service to allow running tox within the application container via
# docker compose run --build --rm tox
tox:
build:
context: .
dockerfile: example/Dockerfile
target: tox
environment:
COVERAGE_FILE: /tox/coverage
TOXINI_WORK_DIR: /tox/work
TOXINI_ARTEFACT_DIR: /tox/build
tty: true
profiles:
- utilities
volumes:
- .:/usr/src/app:ro