mirror of
https://github.com/yawaflua/Aoyo.Taiga.git
synced 2025-12-08 19:39:28 +02:00
Fix dockerfile
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user