Skip to content

Commit

Permalink
Update dockerfile paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacodv committed Aug 17, 2023
1 parent e836aab commit 24be55a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/MockApiServer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ EXPOSE 443

FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
WORKDIR /src
COPY ["MockApiServer/MockApiServer.csproj", "MockApiServer/"]
RUN dotnet restore "MockApiServer/MockApiServer.csproj"
COPY . .
WORKDIR "/src/MockApiServer"
RUN dotnet restore "MockApiServer.csproj"
RUN dotnet build "MockApiServer.csproj" -c Release -o /app/build

FROM build AS publish
Expand Down

0 comments on commit 24be55a

Please sign in to comment.