Revert "New position of project inside Dockerfile"

This reverts commit 498f56479c.
This commit is contained in:
Benjamin
2024-11-22 09:26:59 +01:00
parent 498f56479c
commit 7c62f83dd8

View File

@@ -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/pointMaster.csproj", "pointMaster/"] COPY ["pointMaster.csproj", "./"]
RUN dotnet restore "./pointMaster.csproj" RUN dotnet restore "./pointMaster.csproj"
COPY . . COPY . .
WORKDIR "/src" WORKDIR "/src"