mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-02-12 11:12:44 +00:00
docker: do not publish trimmed images
This commit is contained in:
@@ -27,8 +27,6 @@ FROM build AS publish
|
|||||||
RUN dotnet publish -c Release -o /app/publish \
|
RUN dotnet publish -c Release -o /app/publish \
|
||||||
#--runtime alpine-x64 \
|
#--runtime alpine-x64 \
|
||||||
--self-contained true \
|
--self-contained true \
|
||||||
/p:TrimMode=partial \
|
|
||||||
/p:PublishTrimmed=true \
|
|
||||||
/p:PublishSingleFile=true \
|
/p:PublishSingleFile=true \
|
||||||
/p:JsonSerializerIsReflectionEnabledByDefault=true \
|
/p:JsonSerializerIsReflectionEnabledByDefault=true \
|
||||||
-a $TARGETARCH
|
-a $TARGETARCH
|
||||||
|
|||||||
@@ -27,8 +27,6 @@ FROM build AS publish
|
|||||||
RUN dotnet publish -c Release -o /app/publish \
|
RUN dotnet publish -c Release -o /app/publish \
|
||||||
#--runtime alpine-x64 \
|
#--runtime alpine-x64 \
|
||||||
--self-contained true \
|
--self-contained true \
|
||||||
/p:TrimMode=partial \
|
|
||||||
/p:PublishTrimmed=true \
|
|
||||||
/p:PublishSingleFile=true \
|
/p:PublishSingleFile=true \
|
||||||
/p:JsonSerializerIsReflectionEnabledByDefault=true \
|
/p:JsonSerializerIsReflectionEnabledByDefault=true \
|
||||||
-a $TARGETARCH
|
-a $TARGETARCH
|
||||||
|
|||||||
@@ -27,8 +27,6 @@ FROM build AS publish
|
|||||||
RUN dotnet publish -c Release -o /app/publish \
|
RUN dotnet publish -c Release -o /app/publish \
|
||||||
#--runtime alpine-x64 \
|
#--runtime alpine-x64 \
|
||||||
--self-contained true \
|
--self-contained true \
|
||||||
/p:TrimMode=partial \
|
|
||||||
/p:PublishTrimmed=true \
|
|
||||||
/p:PublishSingleFile=true \
|
/p:PublishSingleFile=true \
|
||||||
/p:JsonSerializerIsReflectionEnabledByDefault=true \
|
/p:JsonSerializerIsReflectionEnabledByDefault=true \
|
||||||
-a $TARGETARCH
|
-a $TARGETARCH
|
||||||
|
|||||||
Reference in New Issue
Block a user