diff --git a/.drone.yml b/.drone.yml index 750e90c..45a37cf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,6 +15,7 @@ steps: username: prtsie password: from_secret: docker_pass + dockerfile: ApplicationLayer/Dockerfile registry: git.prtsie.ru repo: git.prtsie.ru/prtsie/schengen-visa-${DRONE_BRANCH} tags: diff --git a/Dockerfile b/ApplicationLayer/Dockerfile similarity index 96% rename from Dockerfile rename to ApplicationLayer/Dockerfile index 48fd865..a6f186b 100644 --- a/Dockerfile +++ b/ApplicationLayer/Dockerfile @@ -1,6 +1,6 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src -COPY . ./ +COPY ../ ./ RUN dotnet restore RUN dotnet publish "SchengenVisaApi/SchengenVisaApi.csproj" -c Release -o /app/publish