mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
Fixes for multiple handlers
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Build a project
|
||||
FROM mcr.microsoft.com/dotnet/sdk:3.1.416-bullseye-arm64v8 AS build
|
||||
FROM mcr.microsoft.com/dotnet/sdk:5.0.404-buster-slim-arm64v8 AS build
|
||||
WORKDIR /source
|
||||
|
||||
# Copy project and perform restoring
|
||||
@@ -20,7 +20,7 @@ RUN dotnet publish -c release -o /app --no-restore Kruzya.TelegramBot.sln && \
|
||||
rm -f /app/TelegramBot.*.{dll,pdb,json}
|
||||
|
||||
# Now reuse image with only runtime
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:3.1.22-alpine3.14-arm64v8
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:5.0.13-alpine3.14-arm64v8
|
||||
WORKDIR /user
|
||||
COPY --from=build /app /app
|
||||
ENTRYPOINT ["dotnet", "/app/TelegramBot.dll"]
|
||||
|
||||
Reference in New Issue
Block a user