diff --git a/docker-compose.dcproj b/docker-compose.dcproj index 565f51e9e..511d1c5d2 100644 --- a/docker-compose.dcproj +++ b/docker-compose.dcproj @@ -6,11 +6,14 @@ b94a5bcd-3be3-4fe4-ae48-adcf904a22a4 LaunchBrowser {Scheme}://localhost:{ServicePort} - filterlists.api + filterlists + + docker-compose.yml + diff --git a/docker-compose.vs.debug.yml b/docker-compose.vs.debug.yml new file mode 100644 index 000000000..cf173a8fd --- /dev/null +++ b/docker-compose.vs.debug.yml @@ -0,0 +1,10 @@ +version: "3.7" + +services: + api: + build: + target: build + + web: + build: + target: build diff --git a/src/FilterLists.Web/Dockerfile b/src/FilterLists.Web/Dockerfile index 96ae63c72..9db44bfb6 100644 --- a/src/FilterLists.Web/Dockerfile +++ b/src/FilterLists.Web/Dockerfile @@ -1,11 +1,11 @@ # Context: . # Command: docker build -f src/FilterLists.Web/Dockerfile . -# prep runtime +# init base FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-alpine as runtime -ENTRYPOINT ["dotnet", "FilterLists.Web.dll"] ENV ASPNETCORE_URLS "http://*:5000" EXPOSE 5000 +ENTRYPOINT ["dotnet", "FilterLists.Web.dll"] # init build FROM mcr.microsoft.com/dotnet/core/sdk:2.2-alpine AS build