FROM mcr.microsoft.com/dotnet/sdk RUN mkdir /app COPY ./CaddyLog-To-AccessLog.ps1 /app WORKDIR /app ENV INFILE="caddy.log" ENV OUTFILE="access.log" ENTRYPOINT ["pwsh", "-command", "/app/CaddyLog-To-AccessLog.ps1", "-inFile", "$INFILE", "-outFile", "$OUTFILE"]