install wget in docker image
All checks were successful
Build Docker Images / build-and-push (push) Successful in 1m20s

This commit is contained in:
Michał Zieliński
2025-10-18 16:42:44 +02:00
parent da43860c61
commit e086a919c3
2 changed files with 6 additions and 6 deletions

View File

@@ -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