mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 19:11:10 +00:00
Adds per-platform release artifacts and release image validation
This commit is contained in:
1 parent
92ab62011e
commit
68143dff25
19 files changed
+603
-115
No files matched your search
@@ -1,6 +1,6 @@
|
||||
# This image ships the published release artifacts, so the image contents are the same files the release workflow exported.
|
||||
# Build it with the published Web directory as the context:
|
||||
# docker build -t nemera-web -f src/Nemera.Presentation.Web/Dockerfile.release bin/web/publish
|
||||
# Build it with the extracted Linux x64 Web archive as the context.
|
||||
# docker build -t nemera-web -f src/Nemera.Presentation.Web/Dockerfile.release <extracted-Nemera-version-linux-x64-web>
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS final
|
||||
|
||||
# Curl is used by the container healthcheck to probe the /health endpoints.
|
||||
@@ -14,6 +14,6 @@ WORKDIR /app
|
||||
|
||||
COPY --chown=app:app . .
|
||||
|
||||
ENV ASPNETCORE_HTTP_PORTS=5012
|
||||
# The container branch in Program.cs binds the web client to this port.
|
||||
EXPOSE 5012
|
||||
ENTRYPOINT ["dotnet", "Nemera.Presentation.Web.dll"]
|
||||
Reference in new issue
Block a user