TYPO3-docker-boilerplate
TYPO3-docker-boilerplate copied to clipboard
Create tasks breaks the container
Running make create typo3
deletes the folder app/
before it's created again.
This breaks further execution of make bash
etc. because the folder is now found at a different inode:
$ git:(master) ✗ make bash
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
application@ac32b1160390:.$
My suggestion is to replace
rm -rf -- "$CODE_DIR"
with
rm -f -- "$CODE_DIR/.gitkeep"
rm -rf -- "$CODE_DIR/web/"
Quick workaround which does not need code manipulation: docker-compose restart