Compare commits
3 Commits
0f29da00de
...
2fd780996c
Author | SHA1 | Date | |
---|---|---|---|
2fd780996c | |||
b390bb8ea5 | |||
847829e617 |
@ -26,4 +26,4 @@ WORKDIR /publish
|
|||||||
COPY --from=build-env /publish .
|
COPY --from=build-env /publish .
|
||||||
USER 0
|
USER 0
|
||||||
RUN chown 1000:1000 /publish
|
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"]
|
||||||
|
@ -7,6 +7,7 @@ public partial class Tranga : GlobalBase
|
|||||||
|
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
{
|
{
|
||||||
|
Console.WriteLine(string.Join(' ', args));
|
||||||
string[]? help = GetArg(args, ArgEnum.Help);
|
string[]? help = GetArg(args, ArgEnum.Help);
|
||||||
if (help is not null)
|
if (help is not null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user