mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 16:11:10 +00:00
Targets the entire solution at .NET 10 and updates Dockerfiles
This commit is contained in:
1 parent
3e0a7a5570
commit
adadec7f3b
19 files changed
+56
-56
No files matched your search
@@ -1,12 +1,12 @@
|
||||
# This stage is used when running from VS in fast mode (Default for Debug configuration)
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base
|
||||
RUN mkdir /logs && chown -R app:app /logs
|
||||
USER app
|
||||
WORKDIR /app
|
||||
EXPOSE 5214
|
||||
|
||||
# ==== Stage 1: Build stage
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
|
||||
|
||||
ARG BUILD_CONFIGURATION=Release
|
||||
|
||||
@@ -43,7 +43,7 @@ ARG BUILD_CONFIGURATION=Release
|
||||
RUN dotnet publish "./Lumina.Presentation.Api.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false /p:BaseOutputPath=/app/publish/
|
||||
|
||||
# ==== Stage 3: Run stage
|
||||
#FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
|
||||
#FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS runtime
|
||||
FROM base AS final
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
Reference in new issue
Block a user