31 lines
714 B
YAML
31 lines
714 B
YAML
version: '3'
|
|
|
|
services:
|
|
sut:
|
|
build:
|
|
context: docker
|
|
dockerfile: Dockerfile
|
|
args:
|
|
PYTHON_TAG: ${PYTHON:-3}-bullseye
|
|
volumes:
|
|
# Project data
|
|
- type: bind
|
|
source: ../
|
|
target: /app
|
|
read_only: false
|
|
# pip cache
|
|
- type: volume
|
|
source: pip-cache
|
|
target: /root/.cache/pip
|
|
volume:
|
|
nocopy: true
|
|
|
|
# environment file to passthrough environment from laminar - generated by laminar init template
|
|
# automatically-generated docker-env is situated in parent of repo dir (two levels up)
|
|
env_file: ${ENVFILE:-../../docker-env}
|
|
# make it faster
|
|
tmpfs: /tmp
|
|
|
|
volumes:
|
|
pip-cache: # cache for pip
|