mirror of
https://github.com/yawaflua/Aoyo.Taiga.git
synced 2025-12-09 20:09: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
|
FROM base AS final
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=publish /app/publish .
|
COPY --from=publish /app/publish .
|
||||||
RUN apt-get update && \
|
RUN sudo apt-get update && \
|
||||||
apt-get install -y curl && \
|
sudo apt-get install -y curl && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
sudo rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
HEALTHCHECK --interval=30s --timeout=3s --retries=3 CMD curl -f http://localhost:8080/aoyo/health || exit 1
|
HEALTHCHECK --interval=30s --timeout=3s --retries=3 CMD curl -f http://localhost:8080/aoyo/health || exit 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user