Since I don't know how to generate the config file without launching the server, this should do. Since it's only a build process, shouldn't matter too much.
Build everything in the staged container and only copy the complete product to the final container.
Also reduced the size of the container threefold.
Created `data/{config,db,images,TEMP}` to make volumes possible for ease of use with docker and persistence of configurations.
`config.json` symlinks to `data/config/config.json` since I don'T know how to call for the config in different path