Update docker for Responses
This commit is contained in:
parent
cddbe63464
commit
49d809bbff
@ -10,7 +10,7 @@ COPY ["DamageAssesment.Api.SurveyResponses/DamageAssesment.Api.Responses.csproj"
|
|||||||
RUN dotnet restore "DamageAssesment.Api.SurveyResponses/DamageAssesment.Api.Responses.csproj"
|
RUN dotnet restore "DamageAssesment.Api.SurveyResponses/DamageAssesment.Api.Responses.csproj"
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR "/src/DamageAssesment.Api.SurveyResponses"
|
WORKDIR "/src/DamageAssesment.Api.SurveyResponses"
|
||||||
RUN dotnet build "DamageAssesment.Api.SurveyResponses.csproj" -c Release -o /app/build
|
RUN dotnet build "DamageAssesment.Api.Responses.csproj" -c Release -o /app/build
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
RUN dotnet publish "DamageAssesment.Api.Responses.csproj" -c Release -o /app/publish /p:UseAppHost=false
|
RUN dotnet publish "DamageAssesment.Api.Responses.csproj" -c Release -o /app/publish /p:UseAppHost=false
|
||||||
|
Loading…
Reference in New Issue
Block a user