Before, we also copied the docker-data/ directory to the container, and later mounted stuff over it - it somehow worked, but it very unclean. Now only the files needed for running pip install . are copied.
To build, run: sudo docker build . -t mailadm-mailcow --no-cache, also try out the docker run commands to initialize and start mailadm afterwards.
Needs to be merged after #46, because gunicorn.conf.py doesn't exist yet.
Before, we also copied the docker-data/ directory to the container, and later mounted stuff over it - it somehow worked, but it very unclean. Now only the files needed for running
pip install .
are copied.To build, run:
sudo docker build . -t mailadm-mailcow --no-cache
, also try out thedocker run
commands to initialize and start mailadm afterwards.Needs to be merged after #46, because gunicorn.conf.py doesn't exist yet.
related to #27