feat: use Alpine AOT images, static SQLite and Podman host metrics [CI]
This commit is contained in:
1 parent
6e945657c1
commit
103ef27ed3
37 files changed
+719
-309
No files matched your search
@@ -1,4 +1,4 @@
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:10.0-noble-chiseled-extra
|
||||
FROM mcr.microsoft.com/dotnet/runtime-deps:10.0-alpine
|
||||
|
||||
ARG APP_VERSION=unknown
|
||||
LABEL org.opencontainers.image.title="Monitor Backend" \
|
||||
@@ -7,7 +7,7 @@ LABEL org.opencontainers.image.title="Monitor Backend" \
|
||||
org.opencontainers.image.version="$APP_VERSION"
|
||||
|
||||
WORKDIR /app
|
||||
COPY --chown=1654:1654 app/ /app/
|
||||
COPY --chown=1654:1654 app/monitor-backend /app/monitor-backend
|
||||
COPY --chown=1654:1654 data/.keep /data/.keep
|
||||
|
||||
ENV ASPNETCORE_HTTP_PORTS=8080 \
|
||||
@@ -17,4 +17,4 @@ ENV ASPNETCORE_HTTP_PORTS=8080 \
|
||||
USER 1654:1654
|
||||
VOLUME ["/data"]
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["dotnet", "/app/monitor-backend.dll"]
|
||||
ENTRYPOINT ["/app/monitor-backend"]
|
||||
Reference in new issue
Block a user