kampfmodz
kampfmodz
CC#
Created by timmmion on 1/5/2023 in #help
❔ Discord.Net new Message Content system
in order to receive message content / attachments you need the Message Content Intent enabled
17 replies
CC#
Created by timmmion on 1/5/2023 in #help
❔ Discord.Net new Message Content system
have u checked the intents in the dev portal?
17 replies
CC#
Created by kampfmodz on 11/29/2022 in #help
✅ GRPC Compiler error in Docker
It works fine when I compile it outside of docker
6 replies
CC#
Created by kampfmodz on 11/29/2022 in #help
✅ GRPC Compiler error in Docker
No theres no copy
6 replies
CC#
Created by kampfmodz on 9/3/2022 in #help
Docker build failing
ok so an docker problem ?
21 replies
CC#
Created by kampfmodz on 9/3/2022 in #help
Docker build failing
21 replies
CC#
Created by kampfmodz on 9/3/2022 in #help
Docker build failing
what do you mean ?
21 replies
CC#
Created by kampfmodz on 9/3/2022 in #help
Docker build failing
still the same
21 replies
CC#
Created by kampfmodz on 9/3/2022 in #help
Docker build failing
21 replies
CC#
Created by kampfmodz on 9/3/2022 in #help
Docker build failing
i got no entry point i just start right into it
21 replies
CC#
Created by kampfmodz on 9/3/2022 in #help
Docker build failing
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.

FROM mcr.microsoft.com/dotnet/runtime:6.0 AS base
WORKDIR /app

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
WORKDIR /src
COPY ["VidGrab/VidGrab.DatabaseIndexer.csproj", "Database/VidGrab/"]
COPY ["VidGrab.Mongo/VidGrab.Mongo.csproj", "Database/VidGrab.Mongo/"]
RUN dotnet restore "Database/VidGrab/VidGrab.DatabaseIndexer.csproj"
COPY . .
WORKDIR "/src/Database/VidGrab"
RUN dotnet build "VidGrab.DatabaseIndexer.csproj" -c Release -o /app/build

FROM build AS publish
RUN dotnet publish "VidGrab.DatabaseIndexer.csproj" -c Release -o /app/publish /p:UseAppHost=false

FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "VidGrab.DatabaseIndexer.dll"]
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.

FROM mcr.microsoft.com/dotnet/runtime:6.0 AS base
WORKDIR /app

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
WORKDIR /src
COPY ["VidGrab/VidGrab.DatabaseIndexer.csproj", "Database/VidGrab/"]
COPY ["VidGrab.Mongo/VidGrab.Mongo.csproj", "Database/VidGrab.Mongo/"]
RUN dotnet restore "Database/VidGrab/VidGrab.DatabaseIndexer.csproj"
COPY . .
WORKDIR "/src/Database/VidGrab"
RUN dotnet build "VidGrab.DatabaseIndexer.csproj" -c Release -o /app/build

FROM build AS publish
RUN dotnet publish "VidGrab.DatabaseIndexer.csproj" -c Release -o /app/publish /p:UseAppHost=false

FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "VidGrab.DatabaseIndexer.dll"]
21 replies
CC#
Created by kampfmodz on 9/3/2022 in #help
Docker build failing
there is no static Main in the code since its dotnet 6
21 replies