Update u_e-docker-cust_dockerfiles.en.md

Dieser Commit ist enthalten in:
Skydiver84de 2022-10-19 17:37:41 +02:00 committet von GitHub
Ursprung 76e0cb3f4d
Commit 8731836e3e
Es konnte kein GPG-SchlĂĽssel zu dieser Signatur gefunden werden
GPG-SchlĂĽssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -4,14 +4,23 @@ You need to copy the override file with corresponding build tags to the mailcow:
cp helper-scripts/docker-compose.override.yml.d/BUILD_FLAGS/docker-compose.override.yml docker-compose.override.yml
```
Make your changes in `data/Dockerfiles/$service` and build the image locally:
Customize `data/Dockerfiles/$service` and build the image locally:
```
docker build data/Dockerfiles/service -t mailcow/$service
docker build data/Dockerfiles/$service -t mailcow/$service:$tag
```
(without a personalized :$tag docker will use :latest automatically)
Now the created image has to be activated in docker-compose.override.yml, e.g.:
```
$service-mailcow:
build: ./data/Dockerfiles/$service
image: mailcow/$service:$tag
```
Now auto-recreate modified containers:
```
docker compose up -d
```
```