New position of project inside Dockerfile
This commit is contained in:
@@ -9,7 +9,7 @@ EXPOSE 8081
|
|||||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||||
ARG BUILD_CONFIGURATION=Release
|
ARG BUILD_CONFIGURATION=Release
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY ["pointMaster.csproj", "./"]
|
COPY ["pointMaster/pointMaster.csproj", "pointMaster/"]
|
||||||
RUN dotnet restore "./pointMaster.csproj"
|
RUN dotnet restore "./pointMaster.csproj"
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR "/src"
|
WORKDIR "/src"
|
||||||
|
|||||||
Reference in New Issue
Block a user