From e086a919c3dd5e6ed2b2cdebdb7e33e465827c0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zieli=C5=84ski?= Date: Sat, 18 Oct 2025 16:42:44 +0200 Subject: [PATCH] install wget in docker image --- BimAI.API/Dockerfile | 6 +++--- BimAI.UI.Web/Dockerfile | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/BimAI.API/Dockerfile b/BimAI.API/Dockerfile index cc57dc7..f5dd7d6 100644 --- a/BimAI.API/Dockerfile +++ b/BimAI.API/Dockerfile @@ -9,9 +9,6 @@ COPY BimAI.Domain/BimAI.Domain.csproj BimAI.Domain/ COPY BimAI.Application/BimAI.Application.csproj BimAI.Application/ COPY BimAI.Infrastructure/BimAI.Infrastructure.csproj BimAI.Infrastructure/ -# Install curl -RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* - # Restore dependencies RUN dotnet restore BimAI.API/BimAI.API.csproj @@ -26,6 +23,9 @@ RUN dotnet publish -c Release -o /app/publish --no-restore FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime WORKDIR /app +# Install wget for health checks +RUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/* + # Set timezone ENV TZ=Europe/Warsaw RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone diff --git a/BimAI.UI.Web/Dockerfile b/BimAI.UI.Web/Dockerfile index e8bc95e..758ce47 100644 --- a/BimAI.UI.Web/Dockerfile +++ b/BimAI.UI.Web/Dockerfile @@ -9,9 +9,6 @@ COPY BimAI.UI.Shared/BimAI.UI.Shared.csproj BimAI.UI.Shared/ COPY BimAI.Domain/BimAI.Domain.csproj BimAI.Domain/ COPY BimAI.Application/BimAI.Application.csproj BimAI.Application/ -# Install curl -RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* - # Restore dependencies RUN dotnet restore BimAI.UI.Web/BimAI.UI.Web.csproj @@ -26,6 +23,9 @@ RUN dotnet publish -c Release -o /app/publish --no-restore FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime WORKDIR /app +# Install wget for health checks +RUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/* + # Set timezone ENV TZ=Europe/Warsaw RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone