path tweaking in dockerfiles
This commit is contained in:
parent
1aa5e2eda5
commit
6b67f25628
@ -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/
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user