2
0

Compare commits

...

3 Commits

Author SHA1 Message Date
2fd780996c Dockerfile maddnesssss 2024-02-28 04:03:53 +01:00
b390bb8ea5 LogFilePath 2024-02-28 03:59:09 +01:00
847829e617 Corrected DockerFile Arguments 2024-02-28 03:56:24 +01:00
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"]
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)
{