mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-09-30 18:29:36 +02:00
docker: remove --use-current-runtime
This commit is contained in:
1 parent
2201984689
commit
3ebfc8de7c
3 files changed
+3
-3
No files matched your search
@@ -10,7 +10,7 @@ RUN dotnet restore -v d ./Notesnook.sln
|
|||||||
WORKDIR /app/Notesnook.API/
|
WORKDIR /app/Notesnook.API/
|
||||||
# build
|
# build
|
||||||
ENV DOTNET_TC_QuickJitForLoops="1" DOTNET_ReadyToRun="0" DOTNET_TieredPGO="1" DOTNET_SYSTEM_GLOBALIZATION_INVARIANT="true"
|
ENV DOTNET_TC_QuickJitForLoops="1" DOTNET_ReadyToRun="0" DOTNET_TieredPGO="1" DOTNET_SYSTEM_GLOBALIZATION_INVARIANT="true"
|
||||||
RUN dotnet publish -c Release -o /app/out --use-current-runtime --self-contained false --no-restore /p:Runtimeidentifier=linux-x64
|
RUN dotnet publish -c Release -o /app/out --self-contained false --no-restore /p:Runtimeidentifier=linux-x64
|
||||||
|
|
||||||
# final stage/image
|
# final stage/image
|
||||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ RUN dotnet restore -v d ./Notesnook.sln
|
|||||||
WORKDIR /app/Streetwriters.Identity/
|
WORKDIR /app/Streetwriters.Identity/
|
||||||
# build
|
# build
|
||||||
ENV DOTNET_TC_QuickJitForLoops="1" DOTNET_ReadyToRun="0" DOTNET_TieredPGO="1" DOTNET_SYSTEM_GLOBALIZATION_INVARIANT="true"
|
ENV DOTNET_TC_QuickJitForLoops="1" DOTNET_ReadyToRun="0" DOTNET_TieredPGO="1" DOTNET_SYSTEM_GLOBALIZATION_INVARIANT="true"
|
||||||
RUN dotnet publish -c Release -o /app/out --use-current-runtime --self-contained false --no-restore /p:Runtimeidentifier=linux-x64
|
RUN dotnet publish -c Release -o /app/out --self-contained false --no-restore /p:Runtimeidentifier=linux-x64
|
||||||
|
|
||||||
# final stage/image
|
# final stage/image
|
||||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ RUN dotnet restore -v d ./Notesnook.sln
|
|||||||
WORKDIR /app/Streetwriters.Messenger/
|
WORKDIR /app/Streetwriters.Messenger/
|
||||||
# build
|
# build
|
||||||
ENV DOTNET_TC_QuickJitForLoops="1" DOTNET_ReadyToRun="0" DOTNET_TieredPGO="1" DOTNET_SYSTEM_GLOBALIZATION_INVARIANT="true"
|
ENV DOTNET_TC_QuickJitForLoops="1" DOTNET_ReadyToRun="0" DOTNET_TieredPGO="1" DOTNET_SYSTEM_GLOBALIZATION_INVARIANT="true"
|
||||||
RUN dotnet publish -c Release -o /app/out --use-current-runtime --self-contained false --no-restore /p:Runtimeidentifier=linux-x64
|
RUN dotnet publish -c Release -o /app/out --self-contained false --no-restore /p:Runtimeidentifier=linux-x64
|
||||||
|
|
||||||
# final stage/image
|
# final stage/image
|
||||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
||||||
|
|||||||
Reference in new issue
Block a user