Add ':z' to Docker volume mounts
continuous-integration/drone/push Build is failing Details

On systems with SELinux enabled (e.g. Fedora), Docker/Podman cannot
access directories on the host by default.
This commit is contained in:
Max Erenberg 2022-03-12 14:31:12 -05:00
parent 00ced22950
commit af4e342f3c
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ version: "3.6"
x-common: &common x-common: &common
image: python:3.7-buster image: python:3.7-buster
volumes: volumes:
- .:$PWD - .:$PWD:z
environment: environment:
FLASK_APP: ceod.api FLASK_APP: ceod.api
FLASK_ENV: development FLASK_ENV: development