mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
add ASPNETCORE_URLS env var to dockerfiles
This commit is contained in:
parent
c9862e37e4
commit
b78c1d3615
2 changed files with 2 additions and 0 deletions
|
|
@ -6,5 +6,6 @@ RUN dotnet publish FilterLists.Api/FilterLists.Api.csproj -c Release -o /out
|
|||
|
||||
FROM microsoft/dotnet:2.2-aspnetcore-runtime AS final
|
||||
COPY --from=publish /out .
|
||||
ENV ASPNETCORE_URLS http://+:5000
|
||||
EXPOSE 5000
|
||||
ENTRYPOINT ["dotnet", "FilterLists.Api.dll"]
|
||||
|
|
|
|||
|
|
@ -6,5 +6,6 @@ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \
|
|||
|
||||
FROM microsoft/dotnet:2.2-aspnetcore-runtime AS final
|
||||
COPY --from=publish /out .
|
||||
ENV ASPNETCORE_URLS http://+:5001
|
||||
EXPOSE 5001
|
||||
ENTRYPOINT ["dotnet", "FilterLists.Web.dll"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue