Skip to content

Commit

Permalink
ASP.NET url as env
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris Ahrens committed Feb 22, 2024
1 parent eec5bfb commit 3f87bfd
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 3f87bfd

Please sign in to comment.