This commit is contained in:
alirehmani
2024-05-06 13:26:31 +05:00
parent e31d135b44
commit 5632ff3d9f
3 changed files with 53 additions and 7 deletions

View File

@@ -25,15 +25,15 @@ COPY ["/src/Managing.Infrastructure.Database/Managing.Infrastructure.Databases.c
RUN dotnet restore "/buildapp/Managing.Api/Managing.Api.csproj"
# Copy everything else and build
COPY . .
RUN ls -la /buildapp
WORKDIR "/buildapp/Managing.Api"
#COPY . .
#RUN ls -la /buildapp
RUN dotnet build "Managing.Api.csproj" -c Release -o /app/build
#WORKDIR "/buildapp/Managing.Api"
#RUN ls -la /buildapp
#RUN dotnet build "Managing.Api.csproj" -c Release -o /app/build
# FROM build AS publish
# RUN dotnet publish "Managing.Api.csproj" -c Release -o /app/publish