repo-cloner/ci/docker-compose.yml
Václav Valíček c41d31a8cd
Try running docker build commands
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-05-04 10:08:48 +02:00

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