Add ':z' to Docker volume mounts

On systems with SELinux enabled (e.g. Fedora), Docker/Podman cannot
access directories on the host by default.
pull/45/head
Max Erenberg 1 year ago
parent 00ced22950
commit af4e342f3c
  1. 2
      docker-compose.yml

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

Loading…
Cancel
Save