This commit is contained in:
alirehmani
2024-05-06 15:55:40 +05:00
parent 68f66121b6
commit 8ed79496e4
3 changed files with 40 additions and 5 deletions

View File

@@ -27,12 +27,7 @@ RUN dotnet restore "/buildapp/Managing.Api/Managing.Api.csproj"
# Copy everything else and build
COPY . .
#RUN ls -la /buildapp
WORKDIR "/buildapp/src/Managing.Api"
#RUN ls -la /buildapp
RUN dotnet build "Managing.Api.csproj" -c Release -o /app/build
FROM build AS publish