diff --git a/Dockerfile b/Dockerfile index 8d527d9..9480315 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ FROM mcr.microsoft.com/dotnet/aspnet EXPOSE 80 +VOLUME [ "/app/appsettings.Production.json", "/app/botsettings.yml" ] + WORKDIR /app COPY ./Theresa3rd-Bot /app -VOLUME [ "/app/appsettings.Production.json", "/app/botsettings.yml" ] - CMD ["nohup" "dotnet" "TheresaBot.MiraiHttpApi.dll" "--launch-profile" "Production" "--urls" "http://0.0.0.0:80"]