Skip to content

Commit

Permalink
Changed project paths
Browse files Browse the repository at this point in the history
  • Loading branch information
hiresm committed Sep 25, 2023
1 parent 2b5009d commit f0e3a64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
context: .
file: ./AutomatedTestingApp/Dockerfile
file: ./Dockerfile
push: true
tags: latest
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ EXPOSE 443

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

0 comments on commit f0e3a64

Please sign in to comment.