diff --git a/Dockerfile b/Dockerfile index 7ff82da..ea426f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,6 @@ ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 RUN dotnet publish src/iTool.DiscordBot --configuration Release --output="/app" FROM mcr.microsoft.com/dotnet/runtime:9.0 -COPY --from=builder /app /app WORKDIR /app -VOLUME /app/settings /app/data -ENTRYPOINT ["./iTool.DiscordBot"] +COPY --from=builder /app . +ENTRYPOINT ["dotnet", "iTool.DiscordBot.dll"]