瀏覽代碼

Reformat args

Andrew Rabert 6 年之前
父節點
當前提交
f11a4368bb
共有 2 個文件被更改,包括 6 次插入2 次删除
  1. 3 1
      Dockerfile
  2. 3 1
      Dockerfile.aarch64

+ 3 - 1
Dockerfile

@@ -15,7 +15,9 @@ WORKDIR /repo
 COPY . .
 RUN export DOTNET_CLI_TELEMETRY_OPTOUT=1 \
  && dotnet clean \
- && dotnet publish --configuration release --output /jellyfin
+ && dotnet publish \
+    --configuration release \
+    --output /jellyfin
 
 
 FROM microsoft/dotnet:${DOTNET_VERSION}-runtime

+ 3 - 1
Dockerfile.aarch64

@@ -6,7 +6,9 @@ COPY . .
 RUN export DOTNET_CLI_TELEMETRY_OPTOUT=1 \
  && find . -type f -exec sed -i 's/netcoreapp2.1/netcoreapp3.0/g' {} \; \
  && dotnet clean \
- && dotnet publish --configuration release --output /jellyfin
+ && dotnet publish \
+    --configuration release \
+    --output /jellyfin
 
 FROM microsoft/dotnet:${DOTNET_VERSION}-runtime
 COPY --from=builder /jellyfin /jellyfin