Reformat args

This commit is contained in:
Andrew Rabert 2019-01-13 15:30:30 -05:00
parent e8d93b3485
commit f11a4368bb
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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