diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index bbc004c..0000000 --- a/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -# Use the .NET SDK image to build the application -FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build -WORKDIR /app - -# Copy the project files and restore dependencies -COPY *.csproj ./ -RUN dotnet restore - -# Copy the rest of the files and build the project -COPY . ./ -RUN dotnet publish -c Release -o out - -# Use the .NET Runtime image to run the application -FROM mcr.microsoft.com/dotnet/runtime:7.0 -WORKDIR /app -COPY --from=build /app/out ./ - -# Set environment variables -ENV DISCORD_BOT_TOKEN="" -ENV DISCORD_CHANNEL_ID="" -ENV GOOGLE_DRIVE_FILE_ID="" -ENV GOOGLE_CREDENTIALS_PATH="/app/credentials.json" -ENV POST_TIME="20:00:00" - -# Entry point for the application -ENTRYPOINT ["dotnet", "fame-bot.dll"]