-
-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathDockerfile
More file actions
17 lines (11 loc) · 549 Bytes
/
Dockerfile
File metadata and controls
17 lines (11 loc) · 549 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM mcr.microsoft.com/dotnet/aspnet:10.0
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends gosu curl && rm -rf /var/lib/apt/lists/*
COPY Configuration/ /app_defaults/Configuration/
COPY Plugins/ /app_defaults/Plugins/
COPY Localization/ /app_defaults/Localization/
COPY . .
RUN chmod +x entrypoint.sh
HEALTHCHECK --interval=30s --timeout=10s --start-period=120s --retries=3 \
CMD test "$(curl -s -o /dev/null -w '%{http_code}' http://localhost:1624/api/information/stats)" = "200"
ENTRYPOINT ["./entrypoint.sh"]