Fixed mail template storage access, added docker image default resources

This commit is contained in:
Marcel Baumgartner
2023-04-14 15:02:17 +02:00
parent 64bc1d3e8f
commit 1d4ae8d26d
2 changed files with 5 additions and 3 deletions

View File

@@ -19,6 +19,7 @@ RUN dotnet publish "Moonlight.csproj" -c Release -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
RUN mkdir /app/storage
RUN mkdir -p /app/storage
RUN rm -r /app/storage/*
COPY "Moonlight/defaultstorage" "/app/defaultstorage"
ENTRYPOINT ["dotnet", "Moonlight.dll"]