path tweaking in dockerfiles
This commit is contained in:
parent
1aa5e2eda5
commit
6b67f25628
@ -11,7 +11,7 @@ RUN dotnet restore
|
|||||||
COPY . ./
|
COPY . ./
|
||||||
WORKDIR /Selector.CLI
|
WORKDIR /Selector.CLI
|
||||||
RUN dotnet publish Selector.CLI.csproj -c Release
|
RUN dotnet publish Selector.CLI.csproj -c Release
|
||||||
COPY bin/Release/net6.0/publish/ App/
|
COPY ./bin/Release/net6.0/publish/ App/
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/runtime:6.0
|
FROM mcr.microsoft.com/dotnet/runtime:6.0
|
||||||
COPY --from=build bin/Release/net6.0/publish/ App/
|
COPY --from=build bin/Release/net6.0/publish/ App/
|
||||||
|
@ -11,7 +11,7 @@ RUN dotnet restore
|
|||||||
COPY . ./
|
COPY . ./
|
||||||
WORKDIR /Selector.Web
|
WORKDIR /Selector.Web
|
||||||
RUN dotnet publish Selector.Web.csproj -c Release
|
RUN dotnet publish Selector.Web.csproj -c Release
|
||||||
COPY bin/Release/net6.0/publish/ App/
|
COPY ./bin/Release/net6.0/publish/ App/
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/aspnet:6.0
|
FROM mcr.microsoft.com/dotnet/aspnet:6.0
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
Loading…
Reference in New Issue
Block a user