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.Domain/BimAI.Domain.csproj BimAI.Domain/
|
|||||||
COPY BimAI.Application/BimAI.Application.csproj BimAI.Application/
|
COPY BimAI.Application/BimAI.Application.csproj BimAI.Application/
|
||||||
COPY BimAI.Infrastructure/BimAI.Infrastructure.csproj BimAI.Infrastructure/
|
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
|
# Restore dependencies
|
||||||
RUN dotnet restore BimAI.API/BimAI.API.csproj
|
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
|
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Install wget for health checks
|
||||||
|
RUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Set timezone
|
# Set timezone
|
||||||
ENV TZ=Europe/Warsaw
|
ENV TZ=Europe/Warsaw
|
||||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||||
|
|||||||
@@ -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.Domain/BimAI.Domain.csproj BimAI.Domain/
|
||||||
COPY BimAI.Application/BimAI.Application.csproj BimAI.Application/
|
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
|
# Restore dependencies
|
||||||
RUN dotnet restore BimAI.UI.Web/BimAI.UI.Web.csproj
|
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
|
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Install wget for health checks
|
||||||
|
RUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Set timezone
|
# Set timezone
|
||||||
ENV TZ=Europe/Warsaw
|
ENV TZ=Europe/Warsaw
|
||||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||||
|
|||||||
Reference in New Issue
Block a user