diff --git a/src/MalwareSampleExchange.Console/Dockerfile b/src/MalwareSampleExchange.Console/Dockerfile index f1c2acb..1f59edd 100644 --- a/src/MalwareSampleExchange.Console/Dockerfile +++ b/src/MalwareSampleExchange.Console/Dockerfile @@ -4,6 +4,8 @@ WORKDIR /data ENTRYPOINT dotnet /data/MalwareSampleExchange.Console.dll +ENV ASPNETCORE_URLS="http://0.0.0.0:8080" + LABEL org.opencontainers.image.title="Malware Sample Exchange (MSE) Image" \ org.opencontainers.image.description="Malware Sample Exchange (MSE)" \ org.opencontainers.image.url="https://github.com/GDATASoftwareAG/mse" \ diff --git a/src/MalwareSampleExchange.Console/Program.cs b/src/MalwareSampleExchange.Console/Program.cs index f04d1cf..545e50f 100644 --- a/src/MalwareSampleExchange.Console/Program.cs +++ b/src/MalwareSampleExchange.Console/Program.cs @@ -18,6 +18,5 @@ await Host.CreateDefaultBuilder(args) { builder.UseStartup(); builder.UseKestrel(); - builder.UseUrls("http://0.0.0.0:8080"); }) .RunConsoleAsync();