Fix Dockerfile to work in sh.

This commit is contained in:
West14
2022-01-02 22:05:31 +02:00
parent 8d3e24295b
commit b6e622161b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ COPY . .
RUN dotnet publish -c release -o /app --no-restore Kruzya.TelegramBot.sln && \
mkdir /app/modules && \
cp /app/TelegramBot.*.dll /app/modules/ && \
rm -f /app/TelegramBot.*.{dll,pdb,json}
rm -f /app/TelegramBot.*.dll
# Now reuse image with only runtime
FROM mcr.microsoft.com/dotnet/aspnet:5.0.13-alpine3.14-arm64v8