mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
various docker tweaks
This commit is contained in:
parent
516b08fe01
commit
d83d7f19e1
3 changed files with 16 additions and 3 deletions
|
|
@ -6,11 +6,14 @@
|
|||
<ProjectGuid>b94a5bcd-3be3-4fe4-ae48-adcf904a22a4</ProjectGuid>
|
||||
<DockerLaunchAction>LaunchBrowser</DockerLaunchAction>
|
||||
<DockerServiceUrl>{Scheme}://localhost:{ServicePort}</DockerServiceUrl>
|
||||
<DockerServiceName>filterlists.api</DockerServiceName>
|
||||
<DockerServiceName>filterlists</DockerServiceName>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<None Include="docker-compose.prod.yml" />
|
||||
<None Include="docker-compose.data.tests.yml" />
|
||||
<None Include="docker-compose.vs.debug.yml">
|
||||
<DependentUpon>docker-compose.yml</DependentUpon>
|
||||
</None>
|
||||
<None Include="docker-compose.yml" />
|
||||
<None Include=".dockerignore" />
|
||||
</ItemGroup>
|
||||
|
|
|
|||
10
docker-compose.vs.debug.yml
Normal file
10
docker-compose.vs.debug.yml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
version: "3.7"
|
||||
|
||||
services:
|
||||
api:
|
||||
build:
|
||||
target: build
|
||||
|
||||
web:
|
||||
build:
|
||||
target: build
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue