Skip to content

Commit

Permalink
ASP.NET url as env (#304)
Browse files Browse the repository at this point in the history
Co-authored-by: Boris Ahrens <[email protected]>
  • Loading branch information
borisahrens and Boris Ahrens authored Feb 22, 2024
1 parent eec5bfb commit 470ac09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/MalwareSampleExchange.Console/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down
1 change: 0 additions & 1 deletion src/MalwareSampleExchange.Console/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@ await Host.CreateDefaultBuilder(args)
{
builder.UseStartup<Startup>();
builder.UseKestrel();
builder.UseUrls("http://0.0.0.0:8080");
})
.RunConsoleAsync();

0 comments on commit 470ac09

Please sign in to comment.