Skip to content

Commit

Permalink
Merge pull request #357 from YaSuenag/pr-install-curl
Browse files Browse the repository at this point in the history
Install curl into WebAPI container
  • Loading branch information
Willmish authored May 30, 2023
2 parents e9885d7 + 18e5284 commit d3ca5b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CarbonAware.WebApi/src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ RUN dotnet tool restore && \

# Build runtime image
FROM mcr.microsoft.com/dotnet/aspnet:6.0
# Install curl for health check
RUN apt-get update && \
apt-get install -y --no-install-recommends curl
# Copy artifacts from build-env
WORKDIR /app
COPY --from=build-env /app/publish .
ENTRYPOINT ["dotnet", "CarbonAware.WebApi.dll"]

0 comments on commit d3ca5b1

Please sign in to comment.