We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fbd24e commit 8b1c23eCopy full SHA for 8b1c23e
template/powershell-http/Dockerfile
@@ -1,4 +1,4 @@
1
-FROM openfaas/classic-watchdog:0.18.0 as watchdog
+FROM openfaas/of-watchdog:0.7.2 as watchdog
2
3
FROM microsoft/powershell:ubuntu-xenial as ship
4
@@ -14,7 +14,7 @@ HEALTHCHECK --interval=1s CMD [ -e /tmp/.lock ] || exit 1
14
ENV fprocess="pwsh ./server.ps1"
15
ENV cgi_headers="true"
16
ENV mode="http"
17
-ENV upstream_url="http://127.0.0.1:8081"
+ENV upstream_url="http://127.0.0.1:8082"
18
19
EXPOSE 8080
20
CMD ["fwatchdog"]
template/powershell-http/server.ps1
@@ -16,7 +16,7 @@ Class FunctionResponse{
}
$listener = New-Object System.Net.HttpListener
-$listener.Prefixes.Add("http://*:8081/")
+$listener.Prefixes.Add("http://*:8082/")
$listener.Start()
21
22
. "./function/handler.ps1"
0 commit comments