mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2024-09-19 12:18:48 -04:00
9 lines
232 B
C#
9 lines
232 B
C#
using System;
|
|
|
|
namespace DiscordChatExporter.Core.Utils;
|
|
|
|
public static class Docker
|
|
{
|
|
public static bool IsRunningInContainer { get; } =
|
|
Environment.GetEnvironmentVariable("DOTNET_RUNNING_IN_CONTAINER") == "true";
|
|
}
|