Fix build

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

View File

@ -17,7 +17,8 @@ RUN export DOTNET_CLI_TELEMETRY_OPTOUT=1 \
&& dotnet clean \ && dotnet clean \
&& dotnet publish \ && dotnet publish \
--configuration release \ --configuration release \
--output /jellyfin --output /jellyfin \
Jellyfin.Server
FROM microsoft/dotnet:${DOTNET_VERSION}-runtime FROM microsoft/dotnet:${DOTNET_VERSION}-runtime

View File

@ -8,7 +8,8 @@ RUN export DOTNET_CLI_TELEMETRY_OPTOUT=1 \
&& dotnet clean \ && dotnet clean \
&& dotnet publish \ && dotnet publish \
--configuration release \ --configuration release \
--output /jellyfin --output /jellyfin \
Jellyfin.Server
FROM microsoft/dotnet:${DOTNET_VERSION}-runtime FROM microsoft/dotnet:${DOTNET_VERSION}-runtime
COPY --from=builder /jellyfin /jellyfin COPY --from=builder /jellyfin /jellyfin