Update Dockerfile
This commit is contained in:
@@ -20,7 +20,7 @@ COPY ["/src/Managing.Application.Workers/Managing.Application.Workers.csproj", "
|
||||
COPY ["/src/Managing.Infrastructure.Messengers/Managing.Infrastructure.Messengers.csproj", "Managing.Infrastructure.Messengers/"]
|
||||
COPY ["/src/Managing.Infrastructure.Exchanges/Managing.Infrastructure.Exchanges.csproj", "Managing.Infrastructure.Exchanges/"]
|
||||
COPY ["/src/Managing.Infrastructure.Database/Managing.Infrastructure.Databases.csproj", "Managing.Infrastructure.Database/"]
|
||||
RUN dotnet restore "/src/Managing.Api/Managing.Api.csproj"
|
||||
RUN dotnet restore "./src/Managing.Api/Managing.Api.csproj"
|
||||
|
||||
|
||||
COPY . .
|
||||
@@ -28,7 +28,7 @@ WORKDIR "/src/Managing.Api"
|
||||
|
||||
RUN ls -la /src/Managing.Api
|
||||
|
||||
RUN dotnet build "/src/Managing.Api/Managing.Api.csproj" -c Release -o /app/build
|
||||
RUN dotnet build "./Managing.Api.csproj" -c Release -o /app/build -verbosity:minimal
|
||||
|
||||
# FROM build AS publish
|
||||
# RUN dotnet publish "Managing.Api.csproj" -c Release -o /app/publish
|
||||
|
||||
Reference in New Issue
Block a user