2022-02-02 12:23:46 +01:00
|
|
|
You need to copy the override file with corresponding build tags to the mailcow: dockerized root folder (i.e. `/opt/mailcow-dockerized`):
|
|
|
|
|
|
|
|
```
|
2022-09-01 09:33:47 +02:00
|
|
|
cp helper-scripts/docker-compose.override.yml.d/BUILD_FLAGS/docker-compose.override.yml docker-compose.override.yml
|
2022-02-02 12:23:46 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
Make your changes in `data/Dockerfiles/$service` and build the image locally:
|
|
|
|
|
|
|
|
```
|
|
|
|
docker build data/Dockerfiles/service -t mailcow/$service
|
|
|
|
```
|
|
|
|
|
|
|
|
Now auto-recreate modified containers:
|
|
|
|
|
|
|
|
```
|
2022-08-31 14:45:46 +02:00
|
|
|
docker compose up -d
|
2022-02-02 12:23:46 +01:00
|
|
|
```
|