Dockerfile maddnesssss

This commit is contained in:
Glax 2024-02-28 04:03:53 +01:00
parent b390bb8ea5
commit 2fd780996c
2 changed files with 2 additions and 1 deletions

View File

@ -26,4 +26,4 @@ WORKDIR /publish
COPY --from=build-env /publish .
USER 0
RUN chown 1000:1000 /publish
ENTRYPOINT ["dotnet", "/publish/Tranga.dll", "-f", "-c", "-l /usr/share/tranga-api/logs"]
ENTRYPOINT ["dotnet", "/publish/Tranga.dll", "-f", "-c", "-l", "/usr/share/tranga-api/logs"]

View File

@ -7,6 +7,7 @@ public partial class Tranga : GlobalBase
public static void Main(string[] args)
{
Console.WriteLine(string.Join(' ', args));
string[]? help = GetArg(args, ArgEnum.Help);
if (help is not null)
{