Dockerfile maddnesssss
This commit is contained in:
parent
b390bb8ea5
commit
2fd780996c
@ -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", "-l /usr/share/tranga-api/logs"]
|
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