Skip to content

Commit d3ca5b1

Browse files
authored
Merge pull request #357 from YaSuenag/pr-install-curl
Install curl into WebAPI container
2 parents e9885d7 + 18e5284 commit d3ca5b1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/CarbonAware.WebApi/src/Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ RUN dotnet tool restore && \
1313

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

0 commit comments

Comments
 (0)