From e5693edc4986172035772875c57b17f5b938e5b7 Mon Sep 17 00:00:00 2001 From: ledocool Date: Fri, 28 Jul 2023 21:03:33 +0700 Subject: [PATCH] fix filename --- Budet-cho-bot/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Budet-cho-bot/Dockerfile b/Budet-cho-bot/Dockerfile index e9fe4a5..b3539e0 100644 --- a/Budet-cho-bot/Dockerfile +++ b/Budet-cho-bot/Dockerfile @@ -5,13 +5,13 @@ FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build WORKDIR /src COPY ["/Budet-cho-bot", "Budet-cho-bot"] COPY ["/Config.json", "Config.json"] -RUN dotnet restore "Budet-cho-bot/Budet-cho-bot.fsproj" +RUN dotnet restore "Budet-cho-bot/Budet-cho-bot.csproj" COPY . . WORKDIR "/src/Budet-cho-bot" -RUN dotnet build "Budet-cho-bot.fsproj" -c Release -o /app/publish +RUN dotnet build "Budet-cho-bot.csproj" -c Release -o /app/publish FROM build AS publish -RUN dotnet publish "Budet-cho-bot.fsproj" -c Release -o /app/publish /p:UseAppHost=false +RUN dotnet publish "Budet-cho-bot.csproj" -c Release -o /app/publish /p:UseAppHost=false FROM base as final WORKDIR /app