Ao executar o Build, ocorre o seguinte erro:
"Running as SYSTEM
Building in workspace /var/lib/jenkins/workspace/todo-list-producao
provisioning config files...
copy managed file [.env-prod] to file:/var/lib/jenkins/workspace/todo-list-producao/.env
[todo-list-producao] $ /bin/sh -xe /tmp/jenkins8573461047692472124.sh
+ docker run -d -p 80:8000 -v /var/run/mysqld/mysqld.sock:/var/run/mysqld/mysqld.sock -v /var/lib/jenkins/workspace/todo-list-producao/.env:/usr/src/app/to_do/.env --name=django-todolist-prod leojaardim/ok:latest
3d8ef3eb50d7ab76c24d6f6bb40192bd815ff61a9cdcf0d17eca89024a50d0b9
docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"/var/lib/jenkins/workspace/todo-list-producao/.env\\\" to rootfs \\\"/var/lib/docker/overlay2/b95142589983cfa3603e94d5e1012b8967c420ec996b5ad2dedd8db604fb6458/merged\\\" at \\\"/var/lib/docker/overlay2/b95142589983cfa3603e94d5e1012b8967c420ec996b5ad2dedd8db604fb6458/merged/usr/src/app/to_do/.env\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.
"+ docker rm -f django-todolist-prod"
django-todolist-prod
"+ docker run -d -p 80:8000 -v "/var/run/mysqld/mysqld.sock:/var/run/mysqld/mysqld.sock -v /var/lib/jenkins/workspace/todo-list-producao/.env:/usr/src/app/to_do/.env --name=django-todolist-prod leojaardim/ok:latest
4a4202cdb8222dcd4e19c787ecdc32cd07174848c375f94a6a2a694a27de791c
docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"/var/lib/jenkins/workspace/todo-list-producao/.env\\\" to rootfs \\\"/var/lib/docker/overlay2/ca165142814fd78be098cdcbb4f0094218eb0b1c36ffe44371cc53fcb24293ae/merged\\\" at \\\"/var/lib/docker/overlay2/ca165142814fd78be098cdcbb4f0094218eb0b1c36ffe44371cc53fcb24293ae/merged/usr/src/app/to_do/.env\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.
Build step 'Execute shell' marked build as failure
[Slack Notifications] found #6 as previous completed, non-aborted build
[Slack Notifications] will send OnEveryFailureNotification because build matches and user preferences allow it
Finished: FAILURE"