Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
SquirrelKiev committed Dec 27, 2024
2 parents f025134 + f26f5ff commit c9b6a9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Asahi/Modules/RssAtomFeed/RssTimerService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public async Task PollFeeds()
}
}

foreach (var message in messages.Take(10))
foreach (var message in messages.Take(10).Reverse())
{
if (webhookClient != null)
{
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:9.0 as build-env
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:9.0 AS build-env

WORKDIR /source

Expand All @@ -17,14 +17,14 @@ RUN set -xe; \
dotnet publish Asahi/ -c Release -a $TARGETARCH -o /app; \
chmod +x /app/Asahi

FROM mcr.microsoft.com/dotnet/runtime:9.0 as runtime
FROM mcr.microsoft.com/dotnet/runtime:9.0 AS runtime

WORKDIR /app

COPY --from=build-env /app .

VOLUME [ "/data" ]

ENV BOT_CONFIG_LOCATION /data/botconfig.yaml
ENV BOT_CONFIG_LOCATION="/data/botconfig.yaml"

CMD dotnet Asahi.dll
CMD [ "dotnet", "Asahi.dll" ]

0 comments on commit c9b6a9b

Please sign in to comment.