Skip to content

Commit 470ac09

Browse files
borisahrensBoris Ahrens
andauthored
ASP.NET url as env (#304)
Co-authored-by: Boris Ahrens <[email protected]>
1 parent eec5bfb commit 470ac09

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/MalwareSampleExchange.Console/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ WORKDIR /data
44

55
ENTRYPOINT dotnet /data/MalwareSampleExchange.Console.dll
66

7+
ENV ASPNETCORE_URLS="http://0.0.0.0:8080"
8+
79
LABEL org.opencontainers.image.title="Malware Sample Exchange (MSE) Image" \
810
org.opencontainers.image.description="Malware Sample Exchange (MSE)" \
911
org.opencontainers.image.url="https://github.com/GDATASoftwareAG/mse" \

src/MalwareSampleExchange.Console/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,5 @@ await Host.CreateDefaultBuilder(args)
1818
{
1919
builder.UseStartup<Startup>();
2020
builder.UseKestrel();
21-
builder.UseUrls("http://0.0.0.0:8080");
2221
})
2322
.RunConsoleAsync();

0 commit comments

Comments
 (0)