diff --git a/src/Dockerfile b/src/Dockerfile index 7c99d70..b61db7c 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -4,13 +4,13 @@ WORKDIR /app FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR "/src" -COPY ["/src/Miha/Miha.csproj", "Miha/"] -COPY ["/src/Miha.Discord/Miha.Discord.csproj", "Miha.Discord/"] -COPY ["/src/Miha.Logic/Miha.Logic.csproj", "Miha.Logic/"] -COPY ["/src/Miha.Redis/Miha.Redis.csproj", "Miha.Redis/"] -COPY ["/src/Miha.Shared/Miha.Shared.csproj", "Miha.Shared/"] +COPY ["src/Miha/Miha.csproj", "Miha/"] +COPY ["src/Miha.Discord/Miha.Discord.csproj", "Miha.Discord/"] +COPY ["src/Miha.Logic/Miha.Logic.csproj", "Miha.Logic/"] +COPY ["src/Miha.Redis/Miha.Redis.csproj", "Miha.Redis/"] +COPY ["src/Miha.Shared/Miha.Shared.csproj", "Miha.Shared/"] COPY . . -WORKDIR "/src/Miha/" +WORKDIR "src/Miha/" RUN dotnet restore "Miha.csproj" RUN dotnet build "Miha.csproj" -c Release -o /app/build