Skip to content

Commit

Permalink
Update dotnet 8 in docker and fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
Malrim committed Jan 22, 2024
1 parent 71bd67e commit ea58954
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443

FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY ["AutomatedTestingApp/AutomatedTestingApp/AutomatedTestingApp.csproj", "AutomatedTestingApp/"]
COPY ["src/AutomatedTestingApp/AutomatedTestingApp.csproj", "AutomatedTestingApp/"]
RUN dotnet restore "AutomatedTestingApp/AutomatedTestingApp.csproj"
COPY . .
WORKDIR "/src/AutomatedTestingApp"
Expand Down

0 comments on commit ea58954

Please sign in to comment.