install wget in docker image
All checks were successful
Build Docker Images / build-and-push (push) Successful in 1m20s
All checks were successful
Build Docker Images / build-and-push (push) Successful in 1m20s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user