diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 7b8a580..0000000 Binary files a/.DS_Store and /dev/null differ diff --git a/AutomatedTestingApp/.dockerignore b/.dockerignore similarity index 100% rename from AutomatedTestingApp/.dockerignore rename to .dockerignore diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 704b8ae..db89e0f 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -25,6 +25,6 @@ jobs: uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 with: context: . - file: ./AutomatedTestingApp/Dockerfile + file: ./Dockerfile push: true tags: latest \ No newline at end of file diff --git a/AutomatedTestingApp/.gitignore b/.gitignore similarity index 100% rename from AutomatedTestingApp/.gitignore rename to .gitignore diff --git a/AutomatedTestingApp/Dockerfile b/Dockerfile similarity index 72% rename from AutomatedTestingApp/Dockerfile rename to Dockerfile index 6d6a72a..a07e27d 100644 --- a/AutomatedTestingApp/Dockerfile +++ b/Dockerfile @@ -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