Fix dockerfile

This commit is contained in:
Dmitri Shimanski
2025-07-30 01:42:55 +03:00
parent 8c212321e0
commit 3f8f7b8324

View File

@@ -20,9 +20,9 @@ RUN dotnet publish "./Aoyo.Taiga.csproj" -c $BUILD_CONFIGURATION -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
RUN apt-get update && \
apt-get install -y curl && \
rm -rf /var/lib/apt/lists/*
RUN sudo apt-get update && \
sudo apt-get install -y curl && \
sudo rm -rf /var/lib/apt/lists/*
HEALTHCHECK --interval=30s --timeout=3s --retries=3 CMD curl -f http://localhost:8080/aoyo/health || exit 1