Ajout du bon chemin vers le csproj
continuous-integration/drone/push Build is failing Details

deploiement
Clement CHIEU 1 year ago
parent 388b6edcfb
commit b2cf52502c

@ -3,14 +3,14 @@ WORKDIR /src
COPY API_SQLuedo/ ./
# Restore dependencies
RUN dotnet restore API.csproj
RUN dotnet restore API/API.csproj
# Build the application
RUN dotnet build API.csproj -c Release -o /app/build
RUN dotnet build API/API.csproj -c Release -o /app/build
# Publish the application
FROM build AS publish
RUN dotnet publish API.csproj -c Release -o /app/publish
RUN dotnet publish API/API.csproj -c Release -o /app/publish
# Final image

Loading…
Cancel
Save