run pwsh command directly without entrypoint

master
lub 5 years ago
parent 1d05b65c3d
commit cc4b970de2

@ -13,6 +13,6 @@ RUN pwsh -c 'Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted' \
&& apt-get -y install iptables docker.io \ && apt-get -y install iptables docker.io \
&& rm -rf /var/cache/apt && rm -rf /var/cache/apt
COPY expose_forwards.ps1 docker/entrypoint.sh ./ COPY expose_forwards.ps1 ./
ENTRYPOINT ["./entrypoint.sh"] CMD ["pwsh", "-File", "expose_forwards.ps1"]

@ -1,7 +0,0 @@
#!/bin/bash
set -e
while :; do
pwsh -File expose_forwards.ps1
sleep 33
done
Loading…
Cancel
Save