path tweaking in dockerfiles

This commit is contained in:
andy 2022-02-13 12:21:43 +00:00
parent 1aa5e2eda5
commit 6b67f25628
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ RUN dotnet restore
COPY . ./
WORKDIR /Selector.CLI
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
COPY --from=build bin/Release/net6.0/publish/ App/

View File

@ -11,7 +11,7 @@ RUN dotnet restore
COPY . ./
WORKDIR /Selector.Web
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
EXPOSE 80