Added default assets to docker image

This commit is contained in:
Marcel Baumgartner 2024-03-19 17:30:58 +01:00
parent 0a807605ad
commit 1cb603a3f3

View file

@ -19,4 +19,9 @@ RUN dotnet publish "Moonlight.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p
FROM base AS final FROM base AS final
WORKDIR /app WORKDIR /app
COPY --from=publish /app/publish . COPY --from=publish /app/publish .
# Copy default assets
RUN mkdir -p /app/Assets
COPY ./Moonlight/Assets ./Assets
ENTRYPOINT ["dotnet", "Moonlight.dll"] ENTRYPOINT ["dotnet", "Moonlight.dll"]