mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-02-12 11:12:44 +00:00
docker: fix You may also need to include 'linux-x64' in your project's RuntimeIdentifiers
This commit is contained in:
@@ -10,7 +10,7 @@ RUN dotnet restore -v d ./Notesnook.sln
|
||||
WORKDIR /app/Notesnook.API/
|
||||
# build
|
||||
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
|
||||
RUN dotnet publish -c Release -o /app/out --use-current-runtime --self-contained false --no-restore /p:Runtimeidentifier=linux-x64
|
||||
|
||||
# final stage/image
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
||||
|
||||
@@ -10,7 +10,7 @@ RUN dotnet restore -v d ./Notesnook.sln
|
||||
WORKDIR /app/Streetwriters.Identity/
|
||||
# build
|
||||
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
|
||||
RUN dotnet publish -c Release -o /app/out --use-current-runtime --self-contained false --no-restore /p:Runtimeidentifier=linux-x64
|
||||
|
||||
# final stage/image
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
||||
|
||||
@@ -10,7 +10,7 @@ RUN dotnet restore -v d ./Notesnook.sln
|
||||
WORKDIR /app/Streetwriters.Messenger/
|
||||
# build
|
||||
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
|
||||
RUN dotnet publish -c Release -o /app/out --use-current-runtime --self-contained false --no-restore /p:Runtimeidentifier=linux-x64
|
||||
|
||||
# final stage/image
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
||||
|
||||
Reference in New Issue
Block a user