Lapiniot / Net.MQTT

0 stars 0 forks source link

Always copy appsettings.Production.json.distrib example config file to current user's ~/.config/mqtt-server folder when run in container #12

Closed Lapiniot closed 3 months ago

Lapiniot commented 3 months ago

We are currently using distroless jammy-chiseled base container image that has no shell at all. Thus we cannot perform extra container init tasks via custom shell script set as container's ENTRYPOINT. So we should add example config file propagation code directly to application to be run on startup when DOTNET_RUNNING_IN_CONTAINER env. var is set to true.